[Bug 2038915] Re: Don't ask debconf question when upgrading grub on cloud images
Steve Langasek
2038915 at bugs.launchpad.net
Tue Oct 10 20:56:44 UTC 2023
How far back are images affected by this? It is not a new thing that we
will have updates to grub packages in the security pocket that need to
be applied. Is this a mantic-specific regression, and should changes be
made to the grub package to work around it for existing 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