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

Majal 1658273 at bugs.launchpad.net
Mon Mar 20 13:43:21 UTC 2017


Hi.

According to the answer here (https://askubuntu.com/a/762892/101985)
"Debian and Debian-derivatives changed the service name from 'samba' to
'smbd'". Thus it appears that they have fully masked samba.service in
Ubuntu while smbd.service is working well. This is the case in my system
now (Ubuntu 16.10). I have the "samba-ad-dc.service is masked" message
while I have Samba functionality just fine.

-- 
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