Bug#843761: invoke-rc.d: Kill 600 birds with one stone (a.k.a. automatic policy-rc.d for init-less chroots)

Andreas Henriksson andreas at fatal.se
Wed Nov 9 10:08:11 GMT 2016


Package: init-system-helpers
Version: 1.46
Severity: normal
Tags: patch
X-Debbugs-CC: Chris Lamb <lamby at debian.org>, Niels Thykier <niels at thykier.net>

Dear Maintainer,

As discussed on IRC we seem to agree that an init-less chroot which does
not have a policy-rc.d blocking service actions isn't a sane
configuration. This patch auto-detects the situation and skips running
the invoke-rc.d action (aka policy-rc.d code 101), unless --force was
given. In both situations a warning message is (also) printed.

Please see attached patch.

For further background see #838966 and #838997

(With this patch applied I hope we can get the change in #838997
reverted from lintian as I plainly think the check suggests a bad idea.)

Regards,
Andreas Henriksson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-policy-rc.d-automatically-in-init-less-chroots.patch
Type: text/x-diff
Size: 1345 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20161109/a69b646a/attachment.patch>


More information about the Pkg-systemd-maintainers mailing list