[Bug 1894824] Re: compare grub efi during build
Launchpad Bug Tracker
1894824 at bugs.launchpad.net
Wed Sep 16 00:03:38 UTC 2020
This bug was fixed in the package grub2-signed - 1.142.6
---------------
grub2-signed (1.142.6) focal; urgency=medium
* Rebuild against grub2 2.04-1ubuntu26.4.
* Add check to compare that signed grub, matches monolithic builds, to
avoid signing skew when copying grub2/grub2-signed to PPAs. LP:
#1894824
-- Dimitri John Ledkov <xnox at ubuntu.com> Tue, 08 Sep 2020 11:54:34
+0100
** Changed in: grub2-signed (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1894824
Title:
compare grub efi during build
Status in grub2-signed package in Ubuntu:
Fix Released
Status in grub2-signed source package in Focal:
Fix Released
Status in grub2-signed source package in Groovy:
Fix Released
Bug description:
[Impact]
* When resigning grub in a PPA, one can satisfy the build-depends from the main Ubuntu Archive, without PPA signature ready yet.
* In such cases, grub2-signed is missbuilt with signature from an old PPA build attached to a newer binary, resulting in validation errors.
* Add a check to ensure that signed grub & build-depends grub are the same
[Test Case]
* Copy grub2 from -updates into PPA and await signing
* Copy grub2-signed from Ubuntu Archive -proposed into PPA
* Observe that grub2-signed FTBFS, instead of successfully producing uninstallable/unverifiable debs
* Copy grub2 from -proposed into PPA, and await signing
* Retry grub2-signed build, which should now succeed
[Regression Potential]
* Only a build-time quickcheck is added, without any other changes of
how signed grub efi images are assembled.
[Other Info]
* Previously this issue resulted in miss built UC20 grub copies
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1894824/+subscriptions
More information about the foundations-bugs
mailing list