[Buildd-tools-devel] Bug#428805: schroot: Fails to start a "directory" chroot

Raphael Hertzog hertzog at debian.org
Thu Jun 14 10:25:54 UTC 2007


Hello,

On Thu, 14 Jun 2007, Raphael Hertzog wrote:
> I: Executing '10mount setup-start ok'
> Mounting /home/rhertzog/local/chroot/sarge on /var/lib/schroot/mount/sarge-215a3c7c-866a-4e4c-ae64-cf5babe5fc36
> /home/rhertzog/local/chroot/sarge on /var/lib/schroot/mount/sarge-215a3c7c-866a-4e4c-ae64-cf5babe5fc36 type none (rw,bind)
> Mounting proc on /var/lib/schroot/mount/sarge-215a3c7c-866a-4e4c-ae64-cf5babe5fc36/proc
> mount: proc already mounted or /var/lib/schroot/mount/sarge-215a3c7c-866a-4e4c-ae64-cf5babe5fc36/proc busy
> mount: according to mtab, proc is mounted on /proc
[...] 
> This change is certainly not responsible of the failure that I have. At first look,
> it rather looks like a new behaviour of "mount" (or something more stupid, like the
> /proc mount point not existing).

The root cause of the problem is this:

rhertzog at rivendell:~$ mount | grep sarge
/etc on /home/rhertzog/local/chroot/sarge/etc/.host type none (rw,bind)
/home on /home/rhertzog/local/chroot/sarge/home type none (rw,bind)
/tmp on /home/rhertzog/local/chroot/sarge/tmp type none (rw,bind)
/dev on /home/rhertzog/local/chroot/sarge/dev type none (rw,bind)
proc on /home/rhertzog/local/chroot/sarge/proc type proc (rw)

I have already mounted everything needed in the root chroot. Up to now,
we could happily mount /proc several times at the same place, now it seems
to fail (but bind mount can be mounted several times, at least mount
doesn't complain).

Maybe can you check if /proc is already mounted before trying the mount?

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/




More information about the Buildd-tools-devel mailing list