diff -u mdadm-2.6.7/debian/changelog mdadm-2.6.7/debian/changelog --- mdadm-2.6.7/debian/changelog +++ mdadm-2.6.7/debian/changelog @@ -1,3 +1,11 @@ +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 seconds, (LP: #257568). + + -- Dustin Kirkland Wed, 13 Aug 2008 14:02:29 -0500 + mdadm (2.6.7-3ubuntu2) intrepid; urgency=low [ Dustin Kirkland ] diff -u mdadm-2.6.7/debian/initramfs/init-premount mdadm-2.6.7/debian/initramfs/init-premount --- mdadm-2.6.7/debian/initramfs/init-premount +++ mdadm-2.6.7/debian/initramfs/init-premount @@ -35,10 +35,39 @@ ;; esac done + # Allow for a couple of permutations, {true|1|yes|on} case "$BOOT_DEGRADED" in 1) BOOT_DEGRADED="true";; yes) BOOT_DEGRADED="true";; + on) BOOT_DEGRADED="true";; esac + # Finally, prompt interactively if the user has not specified + # to boot degraded either in a configuration file or as a + # kernel boot parameter + if [ "$BOOT_DEGRADED" != "true" ]; then + cat <