FS#75186 - [samba] Unnecessary ceph-libs dependency of samba

Attached to Project: Arch Linux
Opened by Alexander Baranin (Boris-Barboris) - Wednesday, 29 June 2022, 15:39 GMT
Last edited by Toolybird (Toolybird) - Thursday, 02 February 2023, 05:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Name : samba
Version : 4.16.2-1
Description : SMB Fileserver and AD Domain server

Depends On : db>=4.7 popt libcups libcap>=2.16 gnutls>=2.4.1 talloc ldb libbsd python iniparser tdb libaio perl-parse-yapp smbclient>=4.16.2 gpgme ceph-libs libldb.so=2-64 libtdb.so=1-64
libtevent.so=0-64 liburing libunwind

ceph-libs is a huge 60MiB package that is related to a ceph monstrosity. Can't imagine it is actually required for samba operation. Maybe it should be optional? Or removed altogether?
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 02 February 2023, 05:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  samba 4.16.4-3
Comment by Doug Newgard (Scimmia) - Wednesday, 29 June 2022, 15:43 GMT
Comment by Alexander Baranin (Boris-Barboris) - Wednesday, 29 June 2022, 16:50 GMT
Please, consider ubuntu's solution:
libcephfs2 is not a requirement but a recommendation of a "samba-vfs-modules" package.

Also, I guess it's a feature request now.
Comment by loqs (loqs) - Wednesday, 29 June 2022, 23:44 GMT
@Boris-Barboris if you apply the attached patch and rebuild the package samba can you then use samba without ceph-libs installed?
Comment by Alexander Baranin (Boris-Barboris) - Tuesday, 05 July 2022, 16:56 GMT
@loqs Yes, everything works as expected with ceph-libs removed.