RFC - bootscript error reporting

James Robertson jwrober at linuxfromscratch.org
Thu Jan 29 09:26:08 PST 2004


Jeremy Utley wrote:

> As the new co-maintainer of the lfs-bootscripts package, I'd like to get
> the community's input on what I feel is a fairly serious problem with
> the LFS-bootscripts - that is the hanging of the bootscripts when an
> error is encountered.  We've all seen it before:
> 
> You should not be seeing this message! blah blah
> 
> Press Enter to continue.
> 
> This poses 2 problems - first, if the machine is unattended, this will
> hang the reboot process.  Second, previous reports list that
> occasionally hitting the enter key doesn't do the RightThing (TM) with
> regard to this.  I propose to make the default bootscripts replace this
> with a pause of a reasonable duration (5-10 secs), and then continue on
> with the process.  The worst case if this is done that *I* personally
> can think of is that some filesystems may not be properly unmounted on
> the reboot, and might need to be fscked after the reboot.  It still,
> however, gives the user who's watching the bootscripts proceed to see
> the error that occured, and look into the problem when the system comes
> back up.
> 
> Anyone see any major flaws with doing this?
> 
> -J-
> 

Jeremy and Nicholas, you guys will probably want to look at BLFS BZ. 
There are some bugs in there WRT the bootscripts.

-- 
James Robertson -- jwrober at linuxfromscratch dot org
Reg. Linux User -- #160424 -- http://counter.li.org
Reg. LFS User   -- #6981   -- http://www.linuxfromscratch.org
LFS Bugzilla Maintainer    -- http://{blfs-}bugs.linuxfromscratch.org



More information about the lfs-dev mailing list