Bug#392136: [Pbuilder-maint] Bug#392136: pbuilder: sysvinit's mounted lib/init/rw prevents cleanup

Junichi Uekawa dancer at netfort.gr.jp
Tue Oct 17 01:20:22 CEST 2006


Hi,

> 
> new sysvinit leaves /lib/init/rw mounted. Since pbuilder doesn't know about
> that, it doesn't unmount it and therefore can't successfully clean up the temp
> dir. Although I already filed #391604 (debootstrap) and #391605 (cdebootstrap),
> I think the attached patch is a good idea anyway since it prevents similar
> problems in the future: If proc is used, /proc/mounts is scanned for mounted
> directories under the build directory and unmounts them carefully.

I'd like to work around individual cases with hook scripts:
examples/E50-initscripts-2.86.ds1-7.workaround.sh

which is placed in /usr/share/doc/pbuilder/examples/workaround/.

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)


regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list