Grub2 menu not loading - could not create MokListXRT: Out of Resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
shim-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Systems fail to mirror MokListXRT. We've taken measures to reduce the size of the variable, and also made one spot non-fatal when running on non-secureboot systems that was fatal before which should address those issues. Also see related bug 1928434.
[Test plan]
We do not have tests to verify this
[Where problems could occur]
See bug 1928434; and also the point where we make it non-fatal only changes code path on non-secureboot systems, so there is an easier workaround if they fail to boot anyway. Although, it literally just adds an `|| efi_status == EFI_OUT_
[Original bug report]
Thinkpad T430 I5-3320M
Ubuntu 21.04 (ZFS)
Dual boot: Ubuntu and Windows 10 on separate drives
Steps to reproduce:
* system update using 'apt update' in terminal. I have attached apt log file. The problem appeared after 'Start-Date: 2021-04-15 19:40:02', last entry.
* 'zsysctl service gc -vv' - to remove unnecessary states
* restart the system
Outcome:
* Grub2 menu does not show. Instead, error messages appear:
'Could not create MokListXRT: Out of Resources'
'Failed to set MokListXRT: Out of Resources'
* After 10 sec Ubuntu starts (Ubuntu was previously set as default system)
Expected outcome:
* Grub2 menu with Ubuntu, Windows and recovery options
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: grub-efi (not installed)
ProcVersionSign
Uname: Linux 5.11.0-14-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu62
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 15 20:13:35 2021
InstallationDate: Installed on 2021-03-15 (31 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20210315)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Grub2 menu not loading - could not create MokListXRT + Grub2 menu not loading - could not create MokListXRT: Out of Resources |
affects: | grub2 (Ubuntu) → shim (Ubuntu) |
Changed in shim (Ubuntu): | |
status: | Invalid → Triaged |
Changed in shim (Ubuntu): | |
status: | Triaged → Fix Committed |
description: | updated |
tags: |
added: verification-done verification-done-hirsute removed: verification-needed verification-needed-hirsute |
Changed in shim-signed (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in shim-signed (Ubuntu Focal): | |
status: | New → Fix Committed |
Changed in shim-signed (Ubuntu): | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.