[Pkg-samba-maint] Bug#1085999: samba package lacks a systemd service file for samba-ad-dc
Eric Valette
eric.valette at free.fr
Thu Oct 24 14:57:22 BST 2024
Package: samba
Version: 2:4.21.1+dfsg-1
Severity: normal
dpkg -L samba | grep init.d
/etc/init.d
/etc/init.d/nmbd
/etc/init.d/smbd
/etc/init.d/samba-ad-dc
dpkg -L samba | grep system
/usr/lib/systemd
/usr/lib/systemd/system
/usr/lib/systemd/system/nmbd.service
/usr/lib/systemd/system/smbd.service
With recent removal of systemV compatibility service, you get a lot of errors in dmesg
SysV service '/etc/init.d/samba-ad-dc' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
There a tens of theses...
So please add a /usr/lib/systemd/system/samba-ad-dc.service file.
-- Package-specific info:
* /etc/samba/smb.conf present, but not attached
-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.6.58 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages samba depends on:
ii init-system-helpers 1.67
ii libbsd0 0.12.2-2
ii libc6 2.40-3
ii libcups2t64 2.4.10-2
ii libdbus-1-3 1.15.10-1
ii libgnutls30t64 3.8.7.1-1
ii libldap-2.5-0 2.5.18+dfsg-3+b1
ii libldb2 2:2.10.0+samba4.21.1+dfsg-1
ii libpopt0 1.19+dfsg-1+b1
ii libtalloc2 2.4.2-1+b2
ii libtasn1-6 4.19.0-3+b2
ii libtdb1 1.4.12-1
ii libtevent0t64 0.16.1-3
ii libtirpc3t64 1.3.4+ds-1.3
ii liburing2 2.7-2
ii passwd 1:4.16.0-4
ii procps 2:4.0.4-6
ii samba-common 2:4.21.1+dfsg-1
ii samba-common-bin 2:4.21.1+dfsg-1
ii samba-libs [libndr5] 2:4.21.1+dfsg-1
Versions of packages samba recommends:
ii attr 1:2.5.2-2
ii python3-samba 2:4.21.1+dfsg-1
Versions of packages samba suggests:
pn ctdb <none>
pn samba-vfs-ceph <none>
pn samba-vfs-glusterfs <none>
pn ufw <none>
ii winbind 2:4.21.1+dfsg-1
-- no debconf information
More information about the Pkg-samba-maint
mailing list