----- Original Message ----- From: "Jim Meyering" <[email protected]> To: "Gilles Espinasse" <[email protected]> Cc: "Pádraig Brady" <[email protected]>; <[email protected]> Sent: Thursday, October 22, 2009 3:09 PM Subject: Re: 8.0beta : missing umount at end of tests
Gilles Espinasse wrote: >> Selon Pádraig Brady <[email protected]>: >>> Gilles Espinasse wrote: >>> > I am looking to understand why this happen inside our chroot and not outside. >>> >>> Do you mount /proc and /sys in your chroot? >>> Do you need to start_udev? >>> >>> cheers, >>> Pádraig. >>> >> /dev /proc and /sys are bind mounted >> Chrooted /etc/mtab is linked to /proc/mount >> >> I have seen udev working in the log. >> >> When testing out of the chroot, depending of the machines, I have >> util-linux-2.12r and util-linux-2.13.1.1.1 (on debian lenny) when inside the >> chroot, I have the latest util-linux-ng-2.16.1. >> I have tested with automated LFS script jhalf and it look to work there Chroot is differently build with sudo mount -v --bind /dev $(LFS)/dev sudo mount -vt devpts devpts $(LFS)/dev/pts sudo mount -vt tmpfs shm $(LFS)/dev/shm sudo mount -vt proc proc $(LFS)/proc sudo mount -vt sysfs sysfs $(LFS)/sys So only dev is bind mounted. I still have to check this is the real reason. Gilles
