Bug#995006: init-system-helpers: deb-systemd-helper does not call daemon-reload despite unit files were changed
Michael Biebl
biebl at debian.org
Fri Sep 24 20:25:06 BST 2021
Am 24.09.2021 um 21:21 schrieb Vasyl Gello:
> Hi Michael,
>
> >I think the relevant bits are
> >
> > dh_installsystemd -v --no-enable --no-start
> >
> >which means,iirc, no explicit maintainer scripts code is generated to
> reload systemd as you asked it to neither start nor enable the service.
> >Since i-s-h is not really involved at this point, I assume this issue
> is misfiled.
>
> So if we don't want to enable and/or start service in postinst, proper
> solution is to add wrapped block to postinst with proper comment
> referencing this bug?
No, my point is that i-s-h is not called as part of the upgrade process,
since you explicititly asked not to. So i-s-h can not call daemon-reload.
Whether dh_installsystemd should generate a blank "daemon-reload" in
this case is another matter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210924/766b24d4/attachment-0001.sig>
More information about the Pkg-systemd-maintainers
mailing list