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 the

2018-06-19 Thread Felipe Sateler
Hi, On Sun, Jun 17, 2018 at 12:39 PM Niels Thykier wrote: > On Wed, 16 May 2018 09:50:28 -0400 Felipe Sateler > wrote: > > [...] > > > > > >> Can you handle the update-rc.d side or should I file a bug against > >> init-system-helpers? > >> > > > > I'd like opinions from the rest of pkg-systemd

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 the

2018-06-17 Thread Niels Thykier
On Wed, 16 May 2018 09:50:28 -0400 Felipe Sateler wrote: > [...] > > >> Can you handle the update-rc.d side or should I file a bug against >> init-system-helpers? >> > > I'd like opinions from the rest of pkg-systemd first. Michael, what do you > think? > Any updates on this part? > Another

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 the

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

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 the

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

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 the

2018-05-14 Thread Felipe Sateler
On Sun, May 13, 2018 at 1:54 PM Niels Thykier wrote: > 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 >

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 the

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

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 the

2018-05-13 Thread Felipe Sateler
On Sun, May 13, 2018 at 11:34 AM Niels Thykier wrote: > Control: tags -1 patch > > On Sun, 21 Jan 2018 16:45:47 +0100 Michael Biebl wrote: > > [...] > > > > See the generated postinst script. > > > > The more I think about these ordering issues, the more I'm

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 the

2018-05-13 Thread Niels Thykier
Control: tags -1 patch On Sun, 21 Jan 2018 16:45:47 +0100 Michael Biebl wrote: > [...] > > See the generated postinst script. > > The more I think about these ordering issues, the more I'm convinced > that for services which ship both a native service file and a systemd >