[Pkg-sysvinit-devel] invoke-rc.d in chroots
Joerg Platte
jplatte at naasa.net
Wed Apr 11 17:57:19 UTC 2007
Hello,
I hope this has not been discussed before. I installed Debian in a chroot and
copy this image to several boxes using rsync. Package upgrades are started
within the chroot environment.
However, many packages are calling invoke-rc.d during package upgrade
resulting in error messages, if the daemon cannot be started properly (for
example, because the same daemon is already running outside the chroot). Is
it possible to prevent any invoke-rc.d action when the script is called in a
chroot? 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.
I could "dpkg-divert" invoke-rc.d as well, but maybe there is less intrusive
solution.
regards,
Jörg
PS: Please CC me, I'm not subscribed.
More information about the Pkg-sysvinit-devel
mailing list