[Pkg-sysvinit-devel] Bug#390126: initscripts: breaks chroots and vservers

Loïc Minier lool at dooz.org
Sat Sep 30 09:14:32 UTC 2006


On Sat, Sep 30, 2006, Petter Reinholdtsen wrote:
> Right.  This is the change I applied to avoid mounting /lib/init/rw/
> in chroot environments.  I am still curious about vserver environments
> and why the package break there.

 Thanks, I confirm that the chrooted() test works from from a "cowbuilder
 --login" session, so I suppose I was seeing the bug only after you
 fixed it because of the default upgrade order.  I don't think it's
 useful to clutter your postinst to unmount the tmpfs in chrooted
 environments on upgrades from >= 2.86.ds1-27 << 2.86.ds1-28.

 I have no idea about vservers.  I know that certain syscalls behaved
 surprisingly in vservers in the past, such as not being able to bind to
 0.0.0.0 or things like this, but I don't know whether the jail looks
 like a chroot or not.

-- 
Loïc Minier <lool at dooz.org>




More information about the Pkg-sysvinit-devel mailing list