[Bug 1610361] Re: /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Andreas Hasenack
andreas at canonical.com
Wed May 24 17:31:59 UTC 2017
I tried several combinations of fresh installs and upgrades. The "error"
is always there, but doesn't translate to an exit status different than
zero. In fact, debian and artful (synced from debian) now workaround the
error by basically asking the admin to ignore it
(https://anonscm.debian.org/cgit/pkg-
samba/samba.git/commit/?id=61eaeba2a7a2df61b681b4ea545811569de421d0).
I then tried release upgrades:
- yakkety -> zesty
- xenial -> yakkety -> zesty
In both cases I used a working samba setup (tested with smbclient
//SERVER/homes -U ubuntu%ubuntu), and it all went fine. There were no
errors reported by do-release-upgrade or apt/dpkg, despite the deb-
systemd-helper complaint being on the screen and logs. It just wasn't
fatal.
In fact, all deb-systemd-helper calls in postinst have this "suffix": ||
true
I also tried with systems where I disabled updates and security and
installed the version that came out in main, and then upgraded, and that
also worked.
Either the package that had the problem is no longer available (could
have been an upgrade that was superseeded), or I'm not hitting the exact
same conditions for some reason. Maybe debhelper started adding the "||
true" to the end of deb-systemd-helper calls is what "fixed" this for
now.
Therefore, I'm marking this bug as incomplete pending further details.
If this still happens to any of you, do please chime in and let's get it
fixed.
** Changed in: samba (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1610361
Title:
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-
ad-dc.service: No such file or directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1610361/+subscriptions
More information about the Ubuntu-server-bugs
mailing list