Bug#989284: insserv: toggles rc0.d/{K02avahi-daemon => K01avahi-daemon} with every upgrade

Jesse Smith jsmith at resonatingmedia.com
Mon Sep 27 01:23:31 BST 2021


On 2021-09-26 8:55 p.m., Thorsten Glaser wrote:
> On Sun, 26 Sep 2021, Jesse Smith wrote:
>
>> I checked out the init.d directories provided by Thorsten. One of the
>> features of insserv allows it to test init scripts in an alternative
>> directory or chroot.
> This seems to be broken:
>
> tglase at tglase:~ $ insserv -p etc-stripped
> insserv: fopen(/etc/init.d/.depend.boot): Permission denied
>
> (Having extracted the tarball as regular user so there are no
> permission issues.)
>

I just realized what the problem is. On the version of insserv you are
using, the command should be "insserv -p etc-stripped/init.d -i
etc-stripped/init.d". The 1.21.0 version of insserv has a second flag
for where to send dependency information.

Jesse



More information about the Debian-init-diversity mailing list