[Bug 1904226] [NEW] [Regression] grub-install: error: failed to register the EFI boot entry: Operation not permitted.

Steven Clarkson 1904226 at bugs.launchpad.net
Fri Nov 13 17:02:36 UTC 2020


Public bug reported:

When updating libefiboot1 from 37-2ubuntu2 to 37-2ubuntu2.1 on focal,
the following error now occurs.

$ grub-install /dev/nvme0n1 --target=x86_64-efi --efi-directory=/boot/efi
Installing for x86_64-efi platform.
grub-install: warning: Internal error.
grub-install: error: failed to register the EFI boot entry: Operation not permitted.

I was able to trace the bug to a parsing failure in acpi_root. The same
fix as in LP: 1892792 solves the problem, and I've recompiled to verify
that. The parser should simply not apply, but the uninitialized variable
is reliably uninitialized to a value that suggests a match.

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

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

Title:
  [Regression] grub-install: error: failed to register the EFI boot
  entry: Operation not permitted.

Status in efivar package in Ubuntu:
  New

Bug description:
  When updating libefiboot1 from 37-2ubuntu2 to 37-2ubuntu2.1 on focal,
  the following error now occurs.

  $ grub-install /dev/nvme0n1 --target=x86_64-efi --efi-directory=/boot/efi
  Installing for x86_64-efi platform.
  grub-install: warning: Internal error.
  grub-install: error: failed to register the EFI boot entry: Operation not permitted.

  I was able to trace the bug to a parsing failure in acpi_root. The
  same fix as in LP: 1892792 solves the problem, and I've recompiled to
  verify that. The parser should simply not apply, but the uninitialized
  variable is reliably uninitialized to a value that suggests a match.

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



More information about the foundations-bugs mailing list