[Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-14 Thread Launchpad Bug Tracker
This bug was fixed in the package mdadm - 2.6.7-3ubuntu3 --- mdadm (2.6.7-3ubuntu3) intrepid; urgency=low * debian/initramfs/init-premount: provide a safety net, interactive prompt on boot before dropping to busybox shell if the RAID is degraded; prompt times out after 15 se

[Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-14 Thread Dustin Kirkland
Screen shot of the testing, for good measure ;-) :-Dustin ** Attachment added: "Screenshot.png" http://launchpadlibrarian.net/16822526/Screenshot.png -- degraded raid boot process should interactively prompt user before dropping to recovery shell https://bugs.launchpad.net/bugs/257568 You r

[Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-14 Thread Dustin Kirkland
Turns out "read" will take a "-t" option, but it cannot take place after the "-r" option. Updated patch attached. Tested, requesting sponsorship. :-Dustin ** Attachment added: "mdadm.257568.debdiff" http://launchpadlibrarian.net/16822518/mdadm.257568.debdiff -- degraded raid boot process s

[Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-13 Thread Dustin Kirkland
I have looked into providing a timeout for this prompt, however the extraordinarily limited ash shell in busybox makes this very difficult. Something like this seems to work well in bash/dash/ash, however, it does not work properly in busybox. # Set a 15-second timeout for

Re: [Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-13 Thread Dustin Kirkland
On Wed, Aug 13, 2008 at 7:54 AM, Jools Smyth <[EMAIL PROTECTED]> wrote: > What about machines which the sysadmin has only remote access to ? He > will want the machine to boot into degraded mode, so services can be > running until he can contact someone at the data centre to replace a > disk. havin

[Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-13 Thread Jools Smyth
Aaah ok. then I'm happy ;-) -- degraded raid boot process should interactively prompt user before dropping to recovery shell https://bugs.launchpad.net/bugs/257568 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

Re: [Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-13 Thread Matt Zimmerman
On Wed, Aug 13, 2008 at 12:54:53PM -, Jools Smyth wrote: > What about machines which the sysadmin has only remote access to ? He > will want the machine to boot into degraded mode, so services can be > running until he can contact someone at the data centre to replace a > disk. having it stop a

[Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-13 Thread Jools Smyth
What about machines which the sysadmin has only remote access to ? He will want the machine to boot into degraded mode, so services can be running until he can contact someone at the data centre to replace a disk. having it stop at a prompt in this scenario is not helpful. -- degraded raid boot p

[Bug 257568] Re: degraded raid boot process should interactively prompt user before dropping to recovery shell

2008-08-13 Thread Dustin Kirkland
Patch attached. :-Dustin ** Attachment added: "mdadm.257568.debdiff" http://launchpadlibrarian.net/16740934/mdadm.257568.debdiff -- degraded raid boot process should interactively prompt user before dropping to recovery shell https://bugs.launchpad.net/bugs/257568 You received this bug noti