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@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