Handle UEFI runtime service SetVariable() not available decently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On system conforming to the Embedded Base Boot Requirements (EBBR) specification it is allowable that the UEFI runtime service SetVariable() is not available. This means that the BOOTXXXX variable for invoking GRUB cannot be set automatically. Instead this has to be left to the user.
Traceback (most recent call last):
File "/snap/
ret = args.func(args)
File "/snap/
File "/snap/
File "/snap/
File "/snap/
File "/snap/
return subp(*args, **kwargs)
File "/snap/
return _subp(*args, **kwargs)
File "/snap/
raise ProcessExecutio
Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/target', '/usr/lib/
Exit code: 1
Reason: -
Stdout: ''
Stderr: Installing grub to /boot/efi.
Unexpected error while running command.
Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/target', '/usr/lib/
Exit code: 1
Reason: -
Stdout: ''
Stderr: Installing grub to /boot/efi.
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 93 lines (+79/-0)2 files modifieddebian/patches/efivar-check-that-efivarfs-is-writeable.patch (+78/-0)
debian/patches/series (+1/-0)
tags: | added: riscv64 |
tags: | added: fr-2123 |
Changed in grub2 (Ubuntu): | |
status: | New → Fix Committed |
Changed in curtin: | |
status: | New → Fix Released |
no longer affects: | curtin |
This bug was fixed in the package grub2 - 2.06-2ubuntu6
---------------
grub2 (2.06-2ubuntu6) jammy; urgency=medium
[ Heinrich Schuchardt ]
* efivar: check that efivarfs is writeable (LP: #1965288)
[ Dimitri John Ledkov ]
* Do not validate kernels twice. (LP: #1964943)
[ Heinrich Schuchardt ]
* efi: EFI Device Tree Fixup Protocol (LP: #1965796)
* fdt: add debug output to devicetree command
-- Julian Andres Klode <email address hidden> Fri, 25 Mar 2022 16:03:11 +0100