Bug#906421: invoke-rc.d: service not started from package postinst anymore

Felipe Sateler fsateler at debian.org
Fri Aug 17 14:37:54 BST 2018


On Fri, Aug 17, 2018 at 10:33 AM Michael Biebl <biebl at debian.org> wrote:

> Am 17.08.2018 um 15:27 schrieb Felipe Sateler:
> > I'll revert the change to unbreak things soon. For the longer term,
> > maybe we can switch the check to
> >
> > /lib/systemd/systemd-sysv-install is-enabled $service
>
> I wouldn't bother introducing new code here and simply revert the change
> to get the old code back, which we know works under the current
> circumstances.
>
> Long term, i.e. after we have the dh_installsystemd fixes, we should be
> able to simply use "systemctl is-enabled " again and drop the fallback
> altogether. The fallback should not be needed then.
>

Well, as long as we support the --skip-systemd-native, we can't drop the
check :/

Alternatively, debhelper could move dh_installsystemd before
dh_installinit. Then the first would be a nop under sysvinit systems, and
the second would be a nop in systemd systems.

-- 

Saludos,
Felipe Sateler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180817/63ab78c1/attachment-0002.html>


More information about the Pkg-systemd-maintainers mailing list