[Pkg-samba-maint] Bug#774328: Bug#774328: ctdb: Failed to start ctdb.service: Unit ctdb.service failed to load: No such file or directory.
Mathieu Parent
math.parent at gmail.com
Wed Jan 28 14:52:11 UTC 2015
2015-01-28 15:42 GMT+01:00 Michael Biebl <biebl at debian.org>:
Hello Michael,
Thanks for your quick response.
[...]
>
> 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.
I use dh_systemd with overrides:
http://anonscm.debian.org/cgit/pkg-samba/ctdb.git/tree/debian/rules
ctdb.postinst (in the .deb) ends up with only:
if [ -x "/etc/init.d/ctdb" ]; then
update-rc.d ctdb defaults >/dev/null || exit $?
fi
and /etc/init.d/ctdb is indeed executable (Is it on your machine Martin?).
It seems that update-rc.d calls dameon-reload in some circumstances.
Or should ctdb.postinst call it directly?
Regards
Mathieu Parent
More information about the Pkg-samba-maint
mailing list