mdadm.postinst should run update-grub only when grub is configured.

Bug #1284514 reported by Steven Shiau
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
Fix Released
Dimitri John Ledkov

Bug Description

When mdadm (3.2.5-5ubuntu3) is installed in a bootstrap/live Trusty environment, it fails. It's because update-grub is run. However, in a bootstrap/live system, although grub is installed, actually it's not use for the boot loader. Therefore update-grub fails.
Attached please find the patch to fix this error.
My 2 cents.


Tags: patch
Revision history for this message
Steven Shiau (stevenshiau) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch for mdadm.postinst" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Dimitri John Ledkov (xnox) wrote :


Changed in mdadm (Ubuntu):
status: New → Triaged
assignee: nobody → Dimitri John Ledkov (xnox)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mdadm - 3.2.5-5ubuntu4

mdadm (3.2.5-5ubuntu4) trusty; urgency=medium

  * Don't fail package configure if update-grub fails for any reason,
    e.g. not use. (LP: #1284514)
 -- Dimitri John Ledkov <email address hidden> Fri, 28 Feb 2014 11:03:28 +0000

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.