[Bug 1363719] Re: efibootmgr may create a duplicated boot entry, "breaking" UEFI boot.

Launchpad Bug Tracker 1363719 at bugs.launchpad.net
Wed Feb 18 20:41:39 UTC 2015


** Branch linked: lp:ubuntu/utopic-proposed/efibootmgr

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1363719

Title:
  efibootmgr may create a duplicated boot entry, "breaking" UEFI boot.

Status in One Hundred Papercuts:
  Confirmed
Status in efibootmgr package in Ubuntu:
  Fix Released
Status in grub2 package in Ubuntu:
  Invalid
Status in efibootmgr source package in Utopic:
  Fix Committed
Status in grub2 source package in Utopic:
  Invalid

Bug description:
  [Impact]
  This bug causes any users with preexisting boot entries in UEFI in a specific pattern to get duplicated entries with a same number, which causes most UEFI BIOSes to reset to default values, thus making Ubuntu unbootable (requires intervention via a different bootable device).
  The included patch changes the variable sizes for compared data to a more suitable type, since it otherwise caused undersired behavior when doing comparisons.

  [Test Case]
  Using an affected system:
  1) Try to create a new bootmgr entry: 'efibootmgr -c'
  Without the patch, the creation step will add a duplicate entry with the same BootNNNN number.
  With the patch, the creation should succeed and create a new entry with a new BootNNNN number.

  [Regression Potential]
  Possible regressions may be inability to create new boot entries in the boot manager (though unlikely), or setting the wrong boot order, or other issues related to the addition of boot entries in UEFI.

  ---
  Hey,
    the current version of efibootmgr has a small ordering bug that causes, at least on x240, a duplicated boot entry to be added to UEFI, breaking the boot - UEFI resets everything to default values, and you have to boot from usb stick to fix uefi entries. There is an upstream patch that fixes it, and it would be great if we could add it.

  Upstream bug report is https://github.com/vathpela/efibootmgr/issues/7

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1363719/+subscriptions



More information about the foundations-bugs mailing list