[buildd-tools-devel] Bug#681884: Same problem with schroot 1.6.8-1

Erik de Castro Lopo erikd at mega-nerd.com
Tue Mar 4 02:09:01 UTC 2014


Hi all,

I'm seeing the same problem with schroot 1.6.8-1 but only on one of
the two machines I regularly use schroot on.

On the machine that displays this problem I have a amd64 Sid chroot
called sid64. If I run it using 'schroot -c sid64' and immediately
exit I get:


    E: 10mount: umount: /var/lib/schroot/mount/sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a/tmp: not mounted
    E: sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a: Chroot setup failed: stage=setup-stop

If I then run 'mount | grep sid64' I get

    /dev/sda4 on /var/lib/schroot/mount/sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a type ext4 (rw,relatime,data=ordered)
    proc on /var/lib/schroot/mount/sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a/proc type proc (rw,nosuid,nodev,noexec,relatime)
    proc on /home/chroot/sid64/proc type proc (rw,nosuid,nodev,noexec,relatime)
    sysfs on /var/lib/schroot/mount/sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    sysfs on /home/chroot/sid64/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    udev on /var/lib/schroot/mount/sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a/dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1006828,mode=755)
    udev on /home/chroot/sid64/dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1006828,mode=755)
    devpts on /var/lib/schroot/mount/sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    devpts on /home/chroot/sid64/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    /dev/sda4 on /var/lib/schroot/mount/sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a/home type ext4 (rw,relatime,data=ordered)
    /dev/sda4 on /home/chroot/sid64/home type ext4 (rw,relatime,data=ordered)

Notice that there are two mount points recorded for say dev:

     /var/lib/schroot/mount/sid64-089cf50f-4a28-427f-9dfc-cfdb33284a4a/dev
    /home/chroot/sid64/dev

I expected to see the first but not the second (which seems completely wrong).

On the machine where schroot is working correctly, I never get the /home/chroot/$chroot_name/dev
mount.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Buildd-tools-devel mailing list