[Bug 1990504] Re: nullboot 0.4.0 jammy SRU
Launchpad Bug Tracker
1990504 at bugs.launchpad.net
Mon Nov 21 09:26:25 UTC 2022
This bug was fixed in the package nullboot - 0.4.0-0ubuntu0.22.04.1
---------------
nullboot (0.4.0-0ubuntu0.22.04.1) jammy; urgency=medium
* nullboot 0.4.0 for jammy (LP: #1990504)
* Feature:
- Support for an -output-json option to dump efi boot variables to
a JSON file
* Bug fixes:
- Handle missing BootOrder variable correctly
-- Julian Andres Klode <juliank at ubuntu.com> Wed, 18 May 2022 16:09:13
+0200
** Changed in: nullboot (Ubuntu Jammy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1990504
Title:
nullboot 0.4.0 jammy SRU
Status in nullboot package in Ubuntu:
Invalid
Status in nullboot source package in Jammy:
Fix Released
Bug description:
[Impact]
nullboot 0.4.0 adds an additional feature necessary for enablement of the target platform: writing JSON files with the boot order during image building, so that the boot entries can be configured at first booth.
I also correctly handles the case where the BootOrder variable was
deleted by populating it, instead of producing an error which IIRC was
also seen as part of the validation, but also significantly improves
testing.
[Test plan]
Gauthier Jolly will build images with the proposed package and boot them on Azure CVM.
[Where problems could occur]
The potential for regressions is low as the new code path uses the mock EFI variables implementation that the test suite uses, and is just a couple of ifs in the main code.
Any failure to write JSON files during image build can easily be
worked around by disabling that bit in the image building script,
first boot would be slower, so they are not exactly fatal.
If people relied on missing BootOrder producing an error, they see a
change in behavior.
It is unlikely anyone is using that in jammy, as it is closely tied to
Azure CVM, and we only enabled focal so far, so overall I think nobody
should be broken even if there were an issue.
[code review tips]
MockEfiVariables moves from efivars_test.go to efivars.go, it makes the diff a bit unwieldly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nullboot/+bug/1990504/+subscriptions
More information about the foundations-bugs
mailing list