[Bug 1549064] Re: grub-ieee1275 should not change boot-device for every upgrade

Adam Conrad adconrad at 0c3.net
Fri Feb 26 07:14:18 UTC 2016


Hello Mathieu, or anyone else affected,

Accepted grub2-signed into trusty-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/grub2-signed/1.34.9 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-signed (Ubuntu Trusty)
       Status: In Progress => Fix Committed

-- 
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/1549064

Title:
  grub-ieee1275 should not change boot-device for every upgrade

Status in grub2 package in Ubuntu:
  In Progress
Status in grub2-signed package in Ubuntu:
  New
Status in grub2 source package in Trusty:
  Fix Committed
Status in grub2-signed source package in Trusty:
  Fix Committed

Bug description:
  [Impact]
  This affects all ppc64el users whenever they upgrade grub.

  [Test case]
  1) run 'nvram --print-config=boot-device'
  2) upgrade grub-ieee1275
  2) run 'nvram --print-config=boot-device'

  The value should not change between runs, it should also not be touched at all (even if it's set to the same value).
  This can be further verified by modifying boot-device to an arbitrary value before running the grub upgrade.

  [Regression potential]
  This has minimal potential for regression. It removes a code path which might otherwise break booting after upgrading grub on the affected systems. One possibility for regression is that if code paths are subsequently added to register openfirmware devices, this should be guarded with an 'if (update_nvram)' test to make sure it only ever happens when the --no-nvram flag is *NOT* passed to grub-install.

  ---

  grub-ieee1275 should call grub-install with --no-nvram in postinst, so
  as not to modify boot-device in OpenFirmware everytime the grub
  package is updated.

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



More information about the foundations-bugs mailing list