chrootless initscripts

Johannes Schauer Marin Rodrigues josch at debian.org
Fri Nov 17 23:18:52 GMT 2023


Hi,

Quoting Mark Hindley (2023-11-17 23:35:27)
> thanks for this. I am away for the weekend and can't open the salsa link on
> my phone.
> 
> I suspect you need to use the insserv -c option to  specify the chroot
> /etc/insserv.conf. I will check more nexr week when I am back.

perfect, that was exactly it!

My problem was the documentation which says:

    -c <config>, --config <config>
        Specify path to the insserv.conf file and the insserv.conf.d directory.

This suggested to me, that the --config option needs the path where both
insserv.conf as well as insserv.conf.d reside in. Thus, I supplied insserve
with --config="$dpkg_root/etc/" which contains both. I now changed that to
--config="$dpkg_root/etc/insserv.conf" which seems to work perfectly but
obviously will ignore "$dpkg_root/etc/insserv.conf.d" is there a way to have it
respect both? Can the option be specified multiple times?

Thanks! I'll send patches to the respective packages soon.

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20231118/5651eeff/attachment.sig>


More information about the Debian-init-diversity mailing list