grub-setup sometimes segfaults when installing to RAID

Bug #1336946 reported by Paul Menzel on 2014-07-02
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
High
Unassigned
Precise
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/sbin/grub-setup --force --directory=/boot/grub --device-map=/boot/grub/device.map /dev/md1

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.

Paul Menzel (pm-debian) wrote :
Colin Watson (cjwatson) wrote :

This was fixed upstream in git commit 69915030942771f6813ebc238e86e05b5112f3b5, which was included in GRUB 2.00, so it's already fixed in releases after precise.

description: updated
summary: - `grub-setup` crashes with segmentation fault
+ grub-setup sometimes segfaults when installing to RAID
Changed in grub2 (Ubuntu):
importance: Undecided → High
status: New → Fix Released
Changed in grub2 (Ubuntu Precise):
importance: Undecided → High
status: New → In Progress
milestone: none → ubuntu-12.04.5
assignee: nobody → Colin Watson (cjwatson)

Hello Paul, or anyone else affected,

Accepted grub2 into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/grub2/1.99-21ubuntu3.16 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in grub2 (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 1.99-21ubuntu3.16

---------------
grub2 (1.99-21ubuntu3.16) precise; urgency=medium

  * Backport from upstream:
    - Avoid grub_util_biosdisk_is_floppy crash on other disk types
      (LP: #1336946).
 -- Colin Watson <email address hidden> Thu, 03 Jul 2014 11:51:00 +0100

Changed in grub2 (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers