[Bug 1928434] Re: shim-signed does not boot on EFI 2.40 by Apple
Launchpad Bug Tracker
1928434 at bugs.launchpad.net
Mon Aug 16 10:30:18 UTC 2021
This bug was fixed in the package shim-signed - 1.33.1~16.04.10
---------------
shim-signed (1.33.1~16.04.10) xenial; urgency=medium
* Update to shim 15.4-0ubuntu7:
- Fix load option parsing, and thus fwupd execution (LP: #1929471) (PR #379)
- Fix occasional crashes in _relocate() on arm64 (LP: #1928010) (PR #383)
- Fix accidental deletion of RT variables (LP: #1934506) (PR #387)
- mok: relax the maximum variable size check (LP: #1934780) (PR #369)
shim-signed (1.33.1~16.04.9) xenial; urgency=medium
* Do not build a dual-signed shim (fixing regression from ~16.04.7), and
disable verifying fbx64.efi and mmx64.efi certificates as xenial's
sbverify is unable to (impish works fine)
* Clean up debhelper log file accidentally imported into git during 16.04.7
import.
shim-signed (1.33.1~16.04.8) xenial; urgency=medium
* debian/*.postinst: Unconditionally call grub-install with
--force-extra-removable, so that the \EFI\BOOT removable path as used in
cloud images receives the updates. LP: #1930742.
* Update to shim 15.4-0ubuntu5:
- Stop addending vendor dbx to MokListXRT during MokListX mirroring. This
is causing systems to run out of EFI storage space, or just hang up
when trying to write it (LP: #1924605) (LP: #1928434)
- Further relax the check for variable mirroring on non-secureboot systems
avoiding boot failures on out of space conditons (pull request #372)
- Don't unhook ExitBootServices() when EBS protection is disabled
(LP: #1931136) (pull request #378)
shim-signed (1.33.1~16.04.7) xenial; urgency=medium
* New upstream release 15.4. LP: #1921134
* Update packaging to pull fb and mm from shim-signed package as in
later releases, dropping the runtime dependency on shim.
* Add download-signed script from linux-signed package
* Add a versioned dependency on the mokutil that introduces --timeout, and
call mokutil --timeout -1 so that users don't end up with broken systems
by missing MokManager on reboot after install. LP: #1856422.
* Add versioned dependencies on grub-efi-amd64-signed and grub2-common,
to ensure we have SBAT-compatible grub.efi and grub 2.04-compatible
grub-install present when we are installing new shim to the ESP.
* Include reworked Makefile from devel to better assert the integrity of
the executables.
-- Julian Andres Klode <juliank at ubuntu.com> Fri, 16 Jul 2021 13:04:57
+0200
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim in Ubuntu.
https://bugs.launchpad.net/bugs/1928434
Title:
shim-signed does not boot on EFI 2.40 by Apple
Status in shim package in Ubuntu:
Fix Released
Status in shim-signed package in Ubuntu:
Fix Released
Status in shim source package in Xenial:
Fix Released
Status in shim-signed source package in Xenial:
Fix Released
Status in shim-signed source package in Bionic:
Fix Committed
Status in shim source package in Focal:
Fix Released
Status in shim-signed source package in Focal:
Fix Released
Status in shim source package in Hirsute:
Fix Released
Status in shim-signed source package in Hirsute:
Fix Released
Bug description:
[Impact]
Booting MacBook is broken
[Test plan]
We don't have a test plan per se to verify this bug, but the shim fix has been tested. Hard to verify those bugs :(
[Where problems could occur]
We disable mirroring of vendor dbx into MokListXRT EFI variable, so mokutil is not able to read the vendor dbx anymore. Other things might not be able to do so either; we don't believe we've been using it so far, though.
[Original bug report]
Hi,
I have a MacBookPro14,3. After upgrade to Ubuntu 21.04 it failed to boot.
At first I thought I'm affected by https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1925010.
But my MacBook has newer efi Version and the fixed version of shim-
signed is not solving my issues.
>sudo dmesg | grep EFI
[ 0.000000] efi: EFI v2.40 by Apple
[ 0.011978] ACPI: UEFI 0x000000007AF7D000 000042 (v01 INTEL EDK2 00000002 01000013)
[ 0.012029] ACPI: Reserving UEFI table memory at [mem 0x7af7d000-0x7af7d041]
[ 0.411423] fb0: EFI VGA frame buffer device
[ 0.418914] EFI Variables Facility v0.08 2004-May-17
[ 2.696996] fb0: switching to amdgpudrmfb from EFI VGA
I reinstalled Ubuntu 21.04 from scratch and updated all packages during installation.
The reboot failed. I hear the apple start sound and then an endless repeating echo.
I've chrooted inside my system and verified that shim-signed 1.47+15.4-0ubuntu2 is installed.
The suggested workaround from the other bug works (I can normally boot afterwards):
/boot/efi/EFI# cp -b ubuntu/grubx64.efi ubuntu/shimx64.efi
/boot/efi/EFI# cp -b ubuntu/grubx64.efi BOOT/BOOTX64.EFI
"sudo apt reinstall shim-signed" reliable breaks my macbook again.
Is there anything I can do to help solving this issue? What do you
need?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1928434/+subscriptions
More information about the foundations-bugs
mailing list