[Pkg-samba-maint] Bug#1059187: samba: installs files into /lib/...

Chris Hofstaedtler zeha at debian.org
Thu Dec 21 00:09:47 GMT 2023


Source: samba
Version: 2:4.19.3+dfsg-2
User: helmutg at debian.org
Usertags: dep17m2

Hi!

The samba binary packages installs a number of files below /lib. For
the ongoing Debian UsrMerge effort [1], these should be moved below
/usr/lib.

Currently the files installed are:

    - lib/systemd/system/ctdb.service
    - lib/systemd/system/nmb.service -> nmbd.service
    - lib/systemd/system/nmbd.service
    - lib/systemd/system/samba-ad-dc.service
    - lib/systemd/system/samba.service -> samba-ad-dc.service
    - lib/systemd/system/smb.service -> smbd.service
    - lib/systemd/system/smbd.service
    - lib/systemd/system/winbind.service
    - lib/x86_64-linux-gnu/libnss_winbind.so.2
    - lib/x86_64-linux-gnu/libnss_wins.so.2
    - lib/x86_64-linux-gnu/security/pam_winbind.so

Please investigate moving these below /usr/lib. When doing so, make
sure your packages do not install empty directories inside /lib (or
/lib itself).

For the correct place of the systemd system units, you can ask:
   pkg-config --variable=systemdsystemunitdir systemd
Provided you add systemd-dev to Build-Depends.

Please see the wiki [1] for further information and on uploading to
experimental first.

Chris

[1] https://wiki.debian.org/UsrMerge



More information about the Pkg-samba-maint mailing list