Package: samba Version: 2:4.7.1+dfsg-2 Severity: normal On installation, the following errors occurred:
Setting up samba (2:4.7.1+dfsg-2) ... Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory Interestingly: erdos:~ # ls -l /etc/systemd/system/samba-ad-dc.service /lib/systemd/system/samba-ad-dc.service lrwxrwxrwx 1 root root 9 Jul 4 2016 /etc/systemd/system/samba-ad-dc.service -> /dev/null -rw-r--r-- 1 root root 352 Nov 12 09:02 /lib/systemd/system/samba-ad-dc.service I have no idea why /etc/systemd/system/samba-ad-dc.service symlinks to /dev/null; I have no recollection of doing this myself. Best wishes, Julian -- Package-specific info: * /etc/samba/smb.conf present, but not attached * /etc/samba/dhcp.conf not present -- System Information: Debian Release: buster/sid APT prefers stretch APT policy: (500, 'stretch'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages samba depends on: ii adduser 3.116 ii dpkg 1.19.0.4 ii libattr1 1:2.4.47-2+b2 ii libbsd0 0.8.6-3 ii libc6 2.24-17 ii libldb1 2:1.2.2-2 ii libpam-modules 1.1.8-3.6 ii libpam-runtime 1.1.8-3.6 ii libpopt0 1.16-10+b2 ii libpython2.7 2.7.14-2 ii libtalloc2 2.1.10-2 ii libtdb1 1.3.15-2 ii libtevent0 0.9.33-2 ii lsb-base 9.20170808 ii procps 2:3.3.12-3 ii python 2.7.14-1 ii python-dnspython 1.15.0-1 ii python-samba 2:4.7.1+dfsg-2 ii python2.7 2.7.14-2 ii samba-common 2:4.7.1+dfsg-2 ii samba-common-bin 2:4.7.1+dfsg-2 ii samba-libs 2:4.7.1+dfsg-2 ii tdb-tools 1.3.15-2 Versions of packages samba recommends: ii attr 1:2.4.47-2+b2 ii logrotate 3.11.0-0.1 ii samba-dsdb-modules 2:4.7.1+dfsg-2 ii samba-vfs-modules 2:4.7.1+dfsg-2 Versions of packages samba suggests: pn bind9 <none> pn bind9utils <none> pn ctdb <none> pn ldb-tools <none> ii ntp 1:4.2.8p10+dfsg-5 pn smbldap-tools <none> pn ufw <none> ii winbind 2:4.7.1+dfsg-2 -- debconf information: samba-common/title: * samba/generate_smbpasswd: true * samba/run_mode: daemons

