On Sat, May 12, 2012 at 03:09:45PM -0400, Phillip Susi wrote: > On 05/12/2012 02:09 PM, Steve Langasek wrote: > > Strawman (not something we discussed in the UDS session):
> > - mountall runs as a job that waits indefinitely for the root filesystem > > - failsafe-recover is a job that sets a timeout; if the timeout is hit, > > it *deactivates* (but does not kill) plymouth and spawns a recovery > > shell. > > - if the device eventually arrives after the shell has been started, > > mountall emits an "I'm done" event that stops the shell job, restarts the > > plymouth splash, and pivots root. > > This would be a useful usability improvement over what we have now. > So the gain is the ability to abort the rescue shell if the root device > shows up after the timeout? Couldn't this be done instead with a small > tweak the the existing scripts so they run the rescue shell in parallel > with continuing wait-for-root without a timeout, and if it returns, kill > the shell? There are many ways that it could be done; using an event-based system that matches the way things are done post-initramfs is probably the simplest and most maintainable, however. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ [email protected] [email protected]
signature.asc
Description: Digital signature
-- ubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
