Bug#753108: dh-systemd does not seem to properly handle services when using --name
Michael Biebl
biebl at debian.org
Sun Jun 29 11:09:56 BST 2014
Package: dh-systemd
Version: 1.19
Am 29.06.2014 11:49, schrieb Michael Biebl:
> So quotarpc.service is only supposed to run if rpcbind is installed?
>
> I think what you want here then is Wants/After + a Condition [1].
> i.e.
>
> [Unit]
> Wants=rpcbind.service
> After=rpcbind.service
> ConditionFileIsExecutable=/sbin/rpcbind
> ....
Btw, I noticed that quotarpc is not enabled by default. Instead
dh_systemd creates two sections for quota.service
# ls debian/*.service
debian/quota.quotarpc.service debian/quota.service
# debian/rules
dh_systemd_enable
dh_systemd_enable --name=quotarpc.service
The start section for quotarpc is completely missing.
This might be a bug in dh_systemd in how --name= is handled.
Michael Stapelberg, could you look into this?
3 Michaels now, I feel like talking to myself :-)
Cheers,
Michael
--
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: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140629/bd4142f9/attachment-0005.sig>
More information about the Pkg-systemd-maintainers
mailing list