← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1924605] Re: Grub2 menu not loading - could not create MokListXRT: Out of Resources

 

This bug was fixed in the package shim - 15.4-0ubuntu5

---------------
shim (15.4-0ubuntu5) hirsute; urgency=medium

  * Rebuild in hirsute to get a more stable target to keep shim reproducible
    for a longer time.

shim (15.4-0ubuntu3) impish; urgency=medium

  [ Steve Langasek ]
  * Use -Zxz compression, for compatibility with dpkg in older releases.
    LP: #1925673

  [ Julian Andres Klode ]
  * 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)

  [ Seth Forshee ]
  * Don't unhook ExitBootServices() when EBS protection is disabled (LP: #1931136)
    (pull request #378)

 -- Julian Andres Klode <juliank@xxxxxxxxxx>  Wed, 16 Jun 2021 12:52:45
+0200

** Changed in: shim (Ubuntu Hirsute)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1924605

Title:
  Grub2 menu not loading - could not create MokListXRT: Out of Resources

Status in shim package in Ubuntu:
  Fix Released
Status in shim source package in Xenial:
  Fix Committed
Status in shim source package in Focal:
  Fix Committed
Status in shim source package in Hirsute:
  Fix Released

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_OF_RESOURCES` as non-fatal condition.

  [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)
  ProcVersionSignature: Ubuntu 5.11.0-14.15-generic 5.11.12
  Uname: Linux 5.11.0-14-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu62
  Architecture: amd64
  CasperMD5CheckResult: unknown
  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)

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