Bug in the 20041004 bootscripts

James Robertson jwrober at linuxfromscratch.org
Fri Oct 15 10:56:34 PDT 2004


Alexander E. Patrakov wrote:
> I got LVM2 corruption (/tmp ext2 volume lost) today. The bootscripts handled
> this improperly.
> 
> The checkfs, of course, could not find the volume and exited with the status
> indicating that something unfixable happened. The bootscripts prompted me
> to press Enter and promised to power off the system after that.
> 
> I read the message and pressed Enter. However, before the halt, I saw the
> line " * Remounting root filesystem read-write". It's a bug. This line
> should not appear at all. Please fix this.
> 
> To reproduce the bug on your own computer, you can probably append the
> following line to /etc/fstab:
> 
> /dev/does-not-exist /mnt/somewhere ext2 defaults 1 1
> 
> WARNING: this will probably make your system unbootable.
> 

This has been fixed in SVN.  We were not calling halt with all the 
correct options.

James



More information about the lfs-dev mailing list