Bug#887904: RFR: Make dh_installinit and dh_installsystemd debhelper autoscript snippets independent in c12 (Was: Re: Bug#887904: dh_installsystemd will unmask services *after* an attempt to start them)

Niels Thykier niels at thykier.net
Sun May 13 18:52:00 BST 2018


Control: tags -1 -patch

Felipe Sateler:
> On Sun, May 13, 2018 at 11:34 AM Niels Thykier <niels at thykier.net> wrote:
> 
> [...]
> 
> There is one case where I think things go wrong (but I haven't tested): A
> package including only an init script will not run invoke-rc.d but it won't
> have a dh_installsystemd snippet either, so the service won't get started
> on installation.
> 
> 
> 

That sounds like it is true.  However, it also seems to imply that
dh_installsystemd and dh_installinit must forever be tangled some how.
If true, that is very much unfortunate as it makes the interaction a lot
more complicated than it should be (case in point, this bug is caused
exactly by these two commands being tangled).

Do you see a solution for this, where dh_installsystemd and
dh_installinit can become independent/unaware of each other?
Alternatively, should we merge them into a single helper instead?

Thanks,
~Niels




More information about the Pkg-systemd-maintainers mailing list