[Pkg-sysvinit-devel] invoke-rc.d in chroots

Petter Reinholdtsen pere at hungry.com
Thu Apr 12 06:52:27 UTC 2007


[Joerg Platte]
> Currently, I'm using dpkg-divert to use my own version of
> start-stop-daemon which simply does nothing in the chroot, but not
> all programs are starting daemons using start-stop-daemon.

This is the method used by debian-installer, and I believe all
packages not using start-stop-daemon can be considered broken because
of this.  So I recommend getting the packages fixed, and continue
using start-stop-daemon.  Eventually, every package will use
policy-rc.d, and you can provide your own policy to avoid starting the
daemons.  This is a bit further ahead, though.

> I could "dpkg-divert" invoke-rc.d as well, but maybe there is less intrusive 
> solution.

Not that I am aware of.

Friendly,
-- 
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list