Public bug reported:
[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.
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
[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=bootdevice'
+ 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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549064
Title:
grub-ieee1275 should not change boot-device for every upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1549064/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs