[Bug 1892792] Re: grub-install fails due to uninitialized variable
Steven Clarkson
1892792 at bugs.launchpad.net
Mon Nov 30 19:02:19 UTC 2020
With 37-2ubuntu2.1
$ sudo grub-install
Installing for x86_64-efi platform.
grub-install: warning: Internal error.
grub-install: error: failed to register the EFI boot entry: Operation not permitted.
And with 37-2ubuntu2.2
$ sudo grub-install
Installing for x86_64-efi platform.
Installation finished. No error reported.
Looks like the issue has been resolved.
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to efivar in Ubuntu.
https://bugs.launchpad.net/bugs/1892792
Title:
grub-install fails due to uninitialized variable
Status in efivar package in Ubuntu:
Fix Released
Status in efivar source package in Focal:
Fix Committed
Bug description:
[Impact]
grub-install can fail, either by segfaulting or reporting an Internal Error.
[Test Case]
The issue is due to an uninitialized variable, so reproducing it is somewhat unpredictable (depends what randomness is in memory). However, a user seems to have a reliable reproduction setup as reported in LP: #1904226.
[Fix]
This upstream patch fixes it:
https://github.com/rhboot/efivar/commit/5dc12cc56c79d293cf68d12a0b84373a785745e7
[Where problems could occur]
Most likely a problem with this fix would have little to do with the fix itself (which is simple/obvious), so I'll just state the usual issues/problems that can occur with upgrading packages (e.g. disk too full to unpack, etc).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/efivar/+bug/1892792/+subscriptions
More information about the foundations-bugs
mailing list