Bug#828709: /usr/sbin/invoke-rc.d: uses non-essential /sbin/runlevel

Michael Biebl biebl at debian.org
Mon Jun 27 14:30:25 BST 2016


Control: forcemerge 827376 -1


Hi Helmut

Am 27.06.2016 um 06:21 schrieb Helmut Grohne:
> Package: init-system-helpers
> Version: 1.35
> File: /usr/sbin/invoke-rc.d
> Severity: minor
> User: helmutg at debian.org
> Usertags: rebootstrap
> 
> While removing e.g. x11-common, I saw the following message scrolling
> by:
> 
> | /usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
> | invoke-rc.d: could not determine current runlevel
> | invoke-rc.d: policy-rc.d denied execution of stop.
> 
> You can trigger it by debootstrapping a --variant=minbase sid chroot and
> using invoke-rc.d. In this case, it was removing x11-common.
> 
> Given that invoke-rc.d does the right thing in the absence of an init
> system, I mark this bug minor, but it could still explicitly check for
> that condition. What do you think about the attached patch?

This bug is already tracked at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827376

Please follow up there if you have further input.

Regards,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160627/a5e53042/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list