Bug#944478: suboptimal handling of tmpfiles if dh_installsystemd is called multiple times

Michael Biebl biebl at debian.org
Sun Nov 10 16:57:27 GMT 2019


Am 10.11.19 um 17:48 schrieb Michael Biebl:
> Somehow I think it would the cleanest solution if tmpfiles handling was
> split into a separate helper, say dh_installtmpfile which can be called
> individually from dh_installsystemd.
> Technically this would make sense, as a tmpfile is strictly speaking no
> unit file. We would leave handling of unit files solely to
> dh_installsystemd.
> Only issue would be, that we need to get the ordering right, but I think
> it would be sufficient if we always call dh_installtmpfile before
> dh_installsystemd (at least I can't think of a reason why we ever need
> to run it after dh_installsystemd).

In addition to that, we currently do add the tmpfiles maintainer scripts
code unconditionally, without a possibility to tweak its behaviour.

The only wait to avoid the creation is to add an empty override like this:

override_dh_installsystemd:




-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20191110/c1b8d017/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list