[Bug 1894824] Re: compare grub efi during build

Steve Langasek 1894824 at bugs.launchpad.net
Wed Sep 9 22:15:38 UTC 2020


Hello Dimitri, or anyone else affected,

Accepted grub2-signed into focal-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/grub2-signed/1.142.6 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: grub2-signed (Ubuntu Focal)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
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 Committed
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