[Bug 1997779] Re: grub2-signed postinsts need to source debconf
dann frazier
1997779 at bugs.launchpad.net
Mon Jan 9 17:08:58 UTC 2023
Both amd64 and arm64 verifications failed:
= amd64 =
ubuntu at ubuntu:~$ dpkg -l | grep grub-efi
ii grub-efi-amd64-bin 2.04-1ubuntu47.5 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 modules)
ii grub-efi-amd64-signed 1.173.4+2.04-1ubuntu47.5 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ubuntu at ubuntu:~$ sudo dpkg-reconfigure grub-efi-amd64-signed
Unknown device "/dev/disk/by-id/*": No such file or directory
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
Installation finished. No error reported.
ubuntu at ubuntu:~$ sudo dpkg-reconfigure grub-efi-amd64-signed -plow
Unknown device "/dev/disk/by-id/*": No such file or directory
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
Installation finished. No error reported.
ubuntu at ubuntu:~$
= arm64 =
ubuntu at ubuntu:~$ sudo dpkg-reconfigure grub-efi-arm64-signed -plow
Unknown device "/dev/disk/by-id/*": No such file or directory
Installing grub to /boot/efi.
Installing for arm64-efi platform.
Installation finished. No error reported.
ubuntu at ubuntu:~$ dpkg -l | grep grub-efi-arm64-signed
ii grub-efi-arm64-signed 1.173.4+2.04-1ubuntu47.5 arm64 GRand Uni
fied Bootloader, version 2 (EFI-ARM64 version, signed)
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-failed verification-failed-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/1997779
Title:
grub2-signed postinsts need to source debconf
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 Jammy:
Triaged
Status in grub2-signed source package in Kinetic:
Triaged
Status in grub2-signed source package in Lunar:
Fix Released
Bug description:
[Impact]
dpkg-reconfigure grub-efi-*-signed do nothing, as debconf is weird and sourcing the script inside grub-multi-install is not enough.
This means the questions about which ESP(s) to use might not get
asked.
[Test plan]
Run dpkg-reconfigure grub-efi-amd64-signed, ensure it shows debconf prompts.
same for grub-efi-arm64-signed
[Where problems could occur]
I'm not sure where problems could occur from adding a single line to the top of postinst that sources debconf when all other packages have it too, hmm.
But of course debconf is always a bit weird. Maybe questions get asked
twice, I don't know.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1997779/+subscriptions
More information about the foundations-bugs
mailing list