Bug#827376: init-system-helpers: invoke-rc.d unconditionally uses /sbin/runlevel without depending on a package providing it

Michael Biebl biebl at debian.org
Wed Jun 15 14:15:30 BST 2016


Hi Andreas

Am 15.06.2016 um 15:02 schrieb Andreas Beckmann:
> I just noticed this in a piuparts log (#827374):
> 
>   /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 reload.
> 
> /sbin/runlevel is provided by several packages:
> 
> https://packages.debian.org/search?mode=path&suite=sid&section=all&arch=any&searchon=contents&keywords=sbin%2Frunlevel
> 
> so I'm not sure what the correct Depends would be ...

We recently changed "init" to no longer be essential. This means
/sbin/runlevel is no longer guaranteed to be around.
In case of invoke-rc.d it's probably best to have a sensible fallback if
runlevel can't be found.

That said, we probably have more places where those binaries provided by
systemd-sysv (halt, telinit, runlevel etc) are used. So there might be
some more fallout from that change.

Any idea how we can users of
https://packages.debian.org/sid/alpha/systemd-sysv/filelist
?





-- 
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/20160615/d144b893/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list