Re: 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

2018-05-16 Thread Felipe Sateler
On Wed, May 16, 2018 at 8:34 AM Niels Thykier wrote: > Felipe Sateler: > > [...] > > > > I think the entanglement can be removed by runtime checking of the unit. > > > > 1. Swap the order of installinit and installsystemd so systemd acts > first. > > (Moved related argument

Re: 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

2018-05-16 Thread Niels Thykier
Felipe Sateler: > [...] > > I think the entanglement can be removed by runtime checking of the unit. > > 1. Swap the order of installinit and installsystemd so systemd acts first. (Moved related argument up) > Step one is needed in case the compatibility symlink is created at > systemd-enable

Re: 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

2018-05-13 Thread Niels Thykier
Control: tags -1 -patch Felipe Sateler: > On Sun, May 13, 2018 at 11:34 AM Niels Thykier 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