[Bug 1336946] Re: `grub-setup` crashes with segmentation fault

Colin Watson cjwatson at canonical.com
Thu Jul 3 10:48:39 UTC 2014


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 changed:

+ 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-
+      /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.

** Also affects: grub2 (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Summary changed:

- `grub-setup` crashes with segmentation fault
+ grub-setup sometimes segfaults when installing to RAID

** Changed in: grub2 (Ubuntu)
   Importance: Undecided => High

** Changed in: grub2 (Ubuntu)
       Status: New => Fix Released

** Changed in: grub2 (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: grub2 (Ubuntu Precise)
       Status: New => In Progress

** Changed in: grub2 (Ubuntu Precise)
    Milestone: None => ubuntu-12.04.5

** Changed in: grub2 (Ubuntu Precise)
     Assignee: (unassigned) => Colin Watson (cjwatson)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1336946

Title:
  grub-setup sometimes segfaults when installing to RAID

Status in “grub2” package in Ubuntu:
  Fix Released
Status in “grub2” source package in Precise:
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1336946/+subscriptions



More information about the foundations-bugs mailing list