Hi, Junichi Uekawa wrote: > Why isn't this fixed in sysvinit ? > I thought this was meant to fix it: > > sysvinit (2.86.ds1-28) unstable; urgency=low > > * Avoid mounting /lib/init/rw/ when being installed in a chroot > environment. (Closes: #390126)
The respective change to sysvinit/initscripts: +chrooted() { + if [ -r /proc/1/root ]; then + return 1 + fi + return 0 +} ... if dpkg --compare-versions "$PREV_VER" lt "2.86.ds1-27" \ - && [ ! -f /lib/init/rw/.ramfs ] ; then + && [ ! -f /lib/init/rw/.ramfs ] && ! chrooted ; then [ -f /etc/default/tmpfs ] && . /etc/default/tmpfs etc. doesn't work with debootstrap. chrooted() evaluates the existence of /proc/1/root. Consider debootstrap's second_stage_install (): It first mounts /proc into the chroot (setup_proc()) and then installs initscripts where postinst (mounting /lib/init/rw in this case) is called. bye, Roland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]