[Bug 2004208] Please test proposed package
Steve Langasek
2004208 at bugs.launchpad.net
Tue Jan 31 22:03:24 UTC 2023
Hello dann, or anyone else affected,
Accepted shim-signed into focal-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/shim-signed/1.40.9
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: shim-signed (Ubuntu Bionic)
Status: New => Fix Committed
** Tags added: verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/2004208
Title:
arm64 package has hardcoded x64 references
Status in canonical-signing-jobs:
Fix Released
Status in canonical-signing-jobs task00 series:
Fix Released
Status in canonical-signing-jobs task01 series:
Fix Released
Status in canonical-signing-jobs task02 series:
Fix Released
Status in canonical-signing-jobs task03 series:
Fix Released
Status in shim-signed package in Ubuntu:
New
Status in shim-signed source package in Bionic:
Fix Committed
Status in shim-signed source package in Focal:
Fix Committed
Status in shim-signed source package in Jammy:
Fix Committed
Status in shim-signed source package in Kinetic:
Fix Committed
Bug description:
[Impact]
I couldn't figure out why the alternative wasn't being updated to the new shim after I installed a kernel installed w/ a 2022 key. Turns out its because we hardcode shim*x64* in the kernel hook:
ubuntu at ubuntu:~$ grep x64 /etc/kernel/postinst.d/zz-shim
if update-alternatives --query shimx64.efi.signed | grep "Best: /usr/lib/shim/shimx64.efi.signed.previous" -q; then
There also seems to be a number of residual x64 references in the postinst:
ubuntu at ubuntu:~$ grep x64 /var/lib/dpkg/info/shim-signed.*
/var/lib/dpkg/info/shim-signed.postinst: for efi_arch in x64 aa64; do
/var/lib/dpkg/info/shim-signed.postinst: update-alternatives --install /usr/lib/shim/shim${efi_arch}.efi.signed shimx64.efi.signed /usr/lib/shim/shim${efi_arch}.efi.signed.latest 100
/var/lib/dpkg/info/shim-signed.postinst: update-alternatives --install /usr/lib/shim/shim${efi_arch}.efi.signed shimx64.efi.signed /usr/lib/shim/shim${efi_arch}.efi.signed.previous 50
/var/lib/dpkg/info/shim-signed.postinst: update-alternatives --install /usr/lib/shim/shim${efi_arch}.efi.signed shimx64.efi.signed /usr/lib/shim/shim${efi_arch}.efi.signed.latest 50
/var/lib/dpkg/info/shim-signed.postinst: update-alternatives --install /usr/lib/shim/shim${efi_arch}.efi.signed shimx64.efi.signed /usr/lib/shim/shim${efi_arch}.efi.signed.previous 100
/var/lib/dpkg/info/shim-signed.postinst: if update-alternatives --query shimx64.efi.signed | grep "Best: /usr/lib/shim/shimx64.efi.signed.previous" -q; then
[Test plan]
Install a kernel signed with 2022 key on arm64, make sure that shimaa64.efi.signed alternative points to latest
[Where problems could occur]
Added/changed code could potentially break stuff on amd64.
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-signing-jobs/+bug/2004208/+subscriptions
More information about the foundations-bugs
mailing list