checkfs and checkroot init scripts call sulogin. Calls to sulogin don't remove the splash, giving the impression that the system has hung. Here's an initial attempt at solving this, by adding an ALRM signal handler.
Created attachment 116641 [details, diff] patch This doesn't work exactly as I'd like it, it doesn't reboot after sulogin, but it's a start...
I'm now wondering if we should move the system into single user mode instead of doing sulogin.
OK, we've put a slighty different patch into our svn. Init scripts can now call rc-abort which if in the boot runlevel will do the following Send SIGTERM to all rc started processes. Switch to single user mode. Speaking of single user mode, the current svn has an issue where sulogin won't grab the keyword in single user mode. I'm unsure of why this is as that code hasn't changed much. We also cannot use the read_key function as it hard locks the console. This only seems to happen on sysinit and single user. Any help in fixing that would be nice :)
(In reply to comment #3) issue where sulogin won't > grab the keyword in single user mode. I'm unsure of why this is as that code > hasn't changed much. We also cannot use the read_key function as it hard locks > the console. This only seems to happen on sysinit and single user. Any help in > fixing that would be nice :) That's fixed now. Silly setpgid taking away my keyboard, so having to maintain a list of pids.
Fixed in baselayout-2.0.0_alpha2