grub-setup sometimes segfaults when installing to RAID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Colin Watson |
Bug Description
SRU justification:
[Impact] grub-setup sometimes crashes on things that aren't plain BIOS disks, such as RAID.
[Test Case] Upgrade grub-pc on a system configured to install GRUB to /dev/md<something>. (The reporter seems to be able to reproduce this reliably.)
[Regression Potential] Limited to grub-setup, but the patch is tiny and just an additional check, so I think regressions are extremely unlikely.
Original report follows:
During package configuration `grub-setup` crashed with a segmentation fault.
/usr/
Big thanks to Colin to help me in #ubuntu-installer on <irc.freenode.net>. Wth the test package from the PPA with a patch applied, `grub-setup` does not crash anymore.
This was fixed upstream in git commit 69915030942771f 6813ebc238e86e0 5b5112f3b5, which was included in GRUB 2.00, so it's already fixed in releases after precise.