[Bug 2038915] Re: Don't ask debconf question when upgrading grub on cloud images
Thomas Bechtold
2038915 at bugs.launchpad.net
Fri Oct 13 04:33:01 UTC 2023
** Package changed: livecd-rootfs (Ubuntu) => cloud-images
** Summary changed:
- Don't ask debconf question when upgrading grub on cloud images
+ Don't ask debconf question when upgrading grub on cloud Focal Pro FIPS images
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2038915
Title:
Don't ask debconf question when upgrading grub on cloud Focal Pro FIPS
images
Status in cloud-images:
New
Bug description:
[ Impact ]
cloud images show a debconf prompt (see attachment) when upgrading some grub packages (eg. grub-efi-amd64-signed). That's because the debconf entries are set wrongly during image build to:
# debconf-show grub-pc | grep grub-efi/install_devices
grub-efi/install_devices_disks_changed: /dev/disk/by-id/dm-name-loop3p15, /dev/disk/by-id/dm-name-loop3p15
* grub-efi/install_devices: /dev/disk/by-id/dm-name-loop3p15, /dev/disk/by-id/dm-name-loop3p15
grub-efi/install_devices_failed: false
grub-efi/install_devices_empty: false
Upgrade of the packages leads to a prompt for users or automation which should be avoided
[ Test Plan ]
* build image
* check debconf-show grub-pc and check that "grub-efi/install_devices_disks_changed", and "grub-efi/install_devices" are both empty and both unseen.
[ Where problems could occur ]
-
[ Other Info ]
Reproducer on AWS is:
- AWS_DEFAULT_REGION=us-east-1 aws ec2 run-instances --image-id ami-0d6c64aedaee5f74f --instance-type m6a.large --key-name toabctl
- apt update && apt upgrade
now the prompt is visible.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2038915/+subscriptions
More information about the foundations-bugs
mailing list