Activity log for bug #244926

Date Who What changed Old value New value Message
2008-07-02 16:43:09 Etienne Goyer bug added bug
2008-08-04 21:11:32 Etienne Goyer description Under certain circumstances, boot may fail and stop at an initramfs shell prompt with an error such as: mount: Mounting /dev/md0 on /root failed: device or ressource busy This could happen, for example, when the root file system is on a software RAID 1 volume. The problem could be resolved by adding a "sleep 10" or "udevadm settle" in /usr/share/initramfs-tools/init, before the function mountroot is being called. Discussing the problem with Scott, it appear that the race condition could be better avoided by letting udev settle after each call to vol_id in /usr/share/initramfs-tools/scripts/local instead. A package in his PPA implement such a change: https://launchpad.net/~scott/+archive. Under certain circumstances, boot may fail and stop at an initramfs shell prompt with an error such as: mount: Mounting /dev/md0 on /root failed: device or ressource busy This could happen, for example, when the root file system is on a software RAID 1 volume. The problem could be resolved by adding a "sleep 10" or "udevadm settle" in /usr/share/initramfs-tools/init, before the function mountroot is being called. Discussing the problem with Scott, it appear that the race condition could be better avoided by letting udev settle after each call to vol_id in /usr/share/initramfs-tools/scripts/local instead. A package in his PPA implement such a change: https://launchpad.net/~scott/+archive. == SRU == Impact: Boot failure can happen intermittently. The failure mode is very unfriendly (being dumped in an initramfs shell). The cause is non-apparent and hard to find. Development: This problem have been fixed in intrepid, specifically in version 0.92bubuntu2. However, the changelog do not mention that it LP: #244926. Patch for the current version in hard: http://launchpadlibrarian.net/15761888/initramfs-tools_0.85eubuntu36_0.85eubuntu39.2.diff.gz TEST CASE: I was unable to reproduce the problem reliably. The problem was reported to me (EtienneG) by a third party. thi s third party confirmed the fix provided by Scott make booting reliable. Regression potential: None that I can see.
2008-08-04 21:11:54 Etienne Goyer bug added subscriber Ubuntu Stable Release Updates Team
2008-08-05 07:33:34 Martin Pitt bug added subscriber Scott James Remnant
2008-08-05 07:35:04 Martin Pitt initramfs-tools: status New Incomplete
2008-08-05 07:35:04 Martin Pitt initramfs-tools: statusexplanation I subscribed Scott, so that he has a chance to answer. Please clarify what the patch is (the description just refers to teh entire package diff.gz) and the intrepid status. Based on the description, the change sounds pretty straightforward and safe, thus ok for SRU.
2008-08-05 07:35:21 Martin Pitt initramfs-tools: assignee scott
2008-08-05 07:35:21 Martin Pitt initramfs-tools: statusexplanation I subscribed Scott, so that he has a chance to answer. Please clarify what the patch is (the description just refers to teh entire package diff.gz) and the intrepid status. Based on the description, the change sounds pretty straightforward and safe, thus ok for SRU.
2008-08-05 14:32:57 Scott James Remnant (Canonical) initramfs-tools: status Incomplete Fix Released
2008-08-06 06:48:16 Steve Langasek initramfs-tools: status New Fix Committed
2008-08-06 06:48:32 Steve Langasek bug added subscriber SRU Verification
2008-08-11 13:35:06 Martin Pitt initramfs-tools: status Fix Committed Fix Released
2008-08-11 13:35:06 Martin Pitt initramfs-tools: statusexplanation Copied to hardy-updates.
2009-12-05 06:54:25 Launchpad Janitor branch linked lp:ubuntu/hardy-proposed/initramfs-tools