[Pkg-samba-maint] Bug#774328: Bug#774328: ctdb: Failed to start ctdb.service: Unit ctdb.service failed to load: No such file or directory.

Michael Biebl biebl at debian.org
Wed Jan 28 14:42:26 UTC 2015


Am 28.01.2015 um 15:37 schrieb Mathieu Parent:
> Hello,
> 
> Some background for systemd maintainers: ctdb was failing to start
> with a "no such file or drectory" error after an upgrade from wheezy
> to jessie.
> 
> 2015-01-28 1:07 GMT+01:00 Martin Schwenke <martin at meltin.net>:
>> Hi Mathieu,
>>
>> This has stopped failing.  While that's obviously excellent, I wish I
>> could explain it.  :-(
> 
> OK.
> 
>> Perhaps a systemd update did something magic?  I've only just seen
>> Cameron Norman's suggestion from 2015-01-02 to try "systemctl
>> daemon-reload".  That would have been a nice idea.  Not sure why I
>> didn't get an email from the bug system for Cameron's comment.  :-(
>> This was happening on my laptop where reboots are uncommon... so I
>> suppose a reboot could have fixed it too.
> 
> Yes.I guess.
> 
>> Do packages that provide systemd init need to set some sort of trigger
>> that causes a "systemctl daemon-reload"?  I just tried installing
>> proftpd-basic (random choice of daemon that I've never had installed
>> before), it starts and stops fine and I can't find any evidence of a
>> trigger like that, so that theory seems bogus.  :-(
> 
> "systemctl --system daemon-reload" is in ctdb postrm but not in
> postinst (from debhelper).
> 
> Asking to the systemd maintainers:
> Is this a known problem? Is this coming from ctdb being an init file
> before, and a ".service" now?
> 

Do you use dh-systemd/init-system-helpers to register your cdtb.service
unit? It generates maintainer scripts code to ensure "systemctl
daemon-reload" is called at the correct times.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20150128/6ceac47f/attachment.sig>


More information about the Pkg-samba-maint mailing list