[Bug 1284514] [NEW] mdadm.postinst should run update-grub only when grub is configured.

Steven Shiau 1284514 at bugs.launchpad.net
Tue Feb 25 08:05:20 UTC 2014


Public bug reported:

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.

Steven.

** Affects: mdadm (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Patch for mdadm.postinst"
   https://bugs.launchpad.net/bugs/1284514/+attachment/3995814/+files/mdadm.postinst.patch

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

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

Status in “mdadm” package in Ubuntu:
  New

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.

  Steven.

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



More information about the foundations-bugs mailing list