RFC - Bugs 688 & 732

Anderson Lizardo lizardo at linuxfromscratch.org
Wed Jan 21 10:17:53 PST 2004


On Wednesday 21 January 2004 04:15, Greg Schafer wrote:
> I want to close these 2 bugs as wontfix. Bringing here for discussion before
> doing so.
> 
> http://bugs.linuxfromscratch.org/show_bug.cgi?id=688
> 
> This bug was opened by me but I've now changed my mind after thinking long
> and hard about it. I still believe that mounting from within the chroot is
> technically not sound, but it ain't so bad in the overall context of an LFS
> build. Sure, /proc/mounts and the real /etc/mtab can get out of sync, but
> the consequences of this aren't too worrisome when it's only some virtual
> file systems we're dealing with.

Except for the fact that, if you shutdown the host system without umount'ing 
/proc and /dev/pts (from inside chroot), the "umount -a" command issued by 
the shutdown script from the host system will fail with something like

umount: /mnt/lfs: device is busy

On recent LFS-bootscripts versions, the root filesystem will be remounted 
read-only to avoid damages (with the "-r" option), but that's not the case 
for some not too ancient (4.0 ?) LFS versions.

-- 
Anderson Lizardo
lizardo at linuxfromscratch.org
http://www.linuxfromscratch.org/




More information about the lfs-dev mailing list