Comment 5 for bug 290885

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Stable Release Update requested for:
 * grub-installer
 * grub
 * mdadm
 * initramfs-tools

Per:
 * https://wiki.ubuntu.com/StableReleaseUpdates

 1) This set of bugs affects any Ubuntu 8.04 LTS user with / or /boot on a RAID1 device. RAID is intended to provide both redundancy of the data on those filesystems, as well as failover reliability. 8.04 does not currently handle the failover case very well, as a system with a degraded RAID will not boot, leaving the system in the initramfs. This is a serious issue, and has yielded a very noisy contingent of Ubuntu users asking for this fix on their LTS servers. The remedy to this problem is spread across some 4 separate packages and involves modified code in both the installer and runtime OS. The installer code (new grub-installer udeb) would need to be included in the 8.04.2 install media.

 2) The code changes were surgically backported from Intrepid, where they have been tested extensively over the last 5 months. A full design specification is available at:
 * https://wiki.ubuntu.com/BootDegradedRaid
Spefically the changes involve:
 * grub-installer - in the installer, iterate over each disk in an md device providing /boot, and write grub to each
 * grub - in a running system, enhance grub-install to operate properly on a /dev/md device, or each disk independently
 * mdadm - add failure hooks to the initramfs to handle a missing disk, prompting the user if they want to boot the degraded RAID, or obeying configured options; configure those options via debconf; add such debconf handling to the installer
 * initramfs-tools - add framework bits for handling mountroot failures and attempt recovery steps

 3) I have attached a gzipped tarball of all 4 patches.

 4) TEST CASE: Testing this is a rather long, arduous process. I have documented those processes in detail at https://wiki.ubuntu.com/BootDegradedRaid.

 5) In terms of analyzing regression potential, I would probably need to enlist the assistance of someone on the platform/foundations team. I think the most dangerous of changes are the ones in initramfs-tools, in terms of affecting others. I looked for reasonable callers that might be affected, and I didn't find any, immediately.

These packages are currently available for testing in my PPA. I have functionally verified that they do the right thing on my Hardy vm's. I believe that they're ready for review by Colin, Evan, Luke, and/or Kees, and then upload to hardy-proposed.

:-Dustin