[Bug 2038915] Re: Don't show debconf prompt when upgrading grub on cloud images
Thomas Bechtold
2038915 at bugs.launchpad.net
Tue Oct 10 11:20:09 UTC 2023
** Summary changed:
- Don't show prompt when upgrading grub on cloud images
+ Don't show debconf prompt when upgrading grub on cloud images
** Summary changed:
- Don't show debconf prompt when upgrading grub on cloud images
+ Don't ask debconf question when upgrading grub on cloud 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 images
Status in livecd-rootfs package in Ubuntu:
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/ubuntu/+source/livecd-rootfs/+bug/2038915/+subscriptions
More information about the foundations-bugs
mailing list