Public bug reported: [Impact]
The version of ukify shipped in 24.04 is missing a patch that fixes PE section padding logic[1]. Without this patch, UKIs built with ukify may fail to boot. [1] https://github.com/systemd/systemd/commit/ec1d031f3de02f84beca89e2b402d085fba62be4 [Test Plan] One way to observe this is using mkosi to build a UKI, where Ubuntu 24.04 is used as the tools tree. I.e. the tools from Ubuntu 24.04 (namely ukify) will be used to build the UKI itself. $ mkdir build workspace $ cd build $ mkosi --workspace-directory=../workspace --tools-tree=default --tools-tree-distribution=ubuntu --tools-tree-release=noble -d fedora -r rawhide --include=mkosi-vm -f vm If successful, that command should result in the just-built image being booted with QEMU. Currently, without the patch, the UKI fails to boot. [Where problems could occur] The patch is restricted to ukify itself, and does not impact other parts of the systemd codebase. The patch changes the PE section padding logic in ukify. Hence, if further issues did occur, it would most likely arise when trying to use UKIs built with ukify. [Other info] This commit was first included in v258, and was backported to v257.9. Hence, it is fixed in questing and newer. Plucky will not be fixed. ** Affects: systemd (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: systemd (Ubuntu Noble) Importance: Low Assignee: Nick Rosbrook (enr0n) Status: Triaged ** Affects: systemd (Ubuntu Plucky) Importance: Undecided Status: Won't Fix ** Affects: systemd (Ubuntu Questing) Importance: Undecided Status: Fix Released ** Tags: dcr-incoming systemd-sru-next ** Also affects: systemd (Ubuntu Questing) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Plucky) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu) Status: New => Fix Released ** Changed in: systemd (Ubuntu Plucky) Status: New => Won't Fix ** Changed in: systemd (Ubuntu Questing) Status: New => Fix Released ** Changed in: systemd (Ubuntu Noble) Status: New => Triaged ** Changed in: systemd (Ubuntu Noble) Assignee: (unassigned) => Nick Rosbrook (enr0n) ** Tags added: dcr-incoming systemd-sru-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2132666 Title: ukify PE section padding broken on 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2132666/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
