These messages: 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
Are not fatal. Look at the "|| true" ending of all those calls: deb-systemd-helper unmask samba-ad-dc.service >/dev/null || true # was-enabled defaults to true, so new installations run enable. if deb-systemd-helper --quiet was-enabled samba-ad-dc.service; then # Enables the unit on first installation, creates new # symlinks on upgrades if the unit file has changed. deb-systemd-helper enable samba-ad-dc.service >/dev/null || true else # Update the statefile to add new symlinks (if any), which need to be # cleaned up on purge. Also remove old symlinks. deb-systemd-helper update-state samba-ad-dc.service >/dev/null || true fi It's confusing, and the upstream "fix" was to just echo a message asking the administrator to ignore the error, which is a bit unfortunate: https://anonscm.debian.org/cgit/pkg- samba/samba.git/commit/?id=61eaeba2a7a2df61b681b4ea545811569de421d0 So back to the bug at hand. Do you still have a crash happening, and if yes could you provide us with these files: - /var/log/syslog - /var/log/samba/log* - /etc/samba/smb.conf Then we can change the subject line of this bug and go from there. ** Changed in: samba (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1658273 Title: Failed to preset unit: Unit file /etc/systemd/system/samba-ad- dc.service is masked. Status in samba package in Ubuntu: Incomplete Status in systemd package in Ubuntu: Confirmed Bug description: On a standalone desktop running zesty with a gnome-shell session, when upgrading the samba packages, i get: Setting up samba (2:4.4.5+dfsg-2ubuntu7) ... 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 note: ubuntu-bug ask questions about a possible windows relationship, but there is no option for a standalone system like that one; so as samba is installed to satisfy qemu, these questions completly ignore such case and send inappropriate report. .... and smbd still crashing on cold boot ( lp:1658293 ) (standalone desktop) note2: a more recent Debian version seems workaround that output: samba (2:4.4.5+dfsg-3) [ Mathieu Parent ] * Remove /etc/systemd/system/samba-ad-dc.service (from postinst) on purge. Closes: #832352 and samba (2:4.4.6+dfsg-1) Only fix PIDFile in {nmbd,samba-ad-dc,smbd,winbind}.service (i.e. not ctdb.service) Closes: #838000. and samba (2:4.4.6+dfsg-2) * Remove uses of tevent internals. This fixes segfault. Closes: #840382, #840298. http://metadata.ftp-master.debian.org/changelogs/main/s/samba/samba_4.5.2+dfsg-2_changelog ... time to get package synced To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1658273/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp