[Bug 1658273] Re: Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.

dino99 1658273 at bugs.launchpad.net
Mon Jan 23 12:21:44 UTC 2017


@Christian

that reported error seems a bit different than the crashing report about libevent0.
My feeling is that (as Debian comments said its not an error) such script comment need either to be fixed or silenced if that 'preset fail' has no real importance.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba 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:
  Confirmed
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



More information about the foundations-bugs mailing list