[Bug 1928674] Re: grub-efi-amd64 from grub2-unsigned has lost kernel/postinst.d script
Dimitri John Ledkov
1928674 at bugs.launchpad.net
Tue May 18 11:36:01 UTC 2021
How can you introduce conffiles in grub-efi-amd64 & grub-efi-arm64 which
is shared across releases? If in later series they have been removed
from said package. That will cause a mess in focal+ then, since it will
conflict with grub2-common there.
Given that the future is for these conffiles to live in grub2-common, it
might be easier to backport the move from grub-{platform} to
grub2-common.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-unsigned in Ubuntu.
https://bugs.launchpad.net/bugs/1928674
Title:
grub-efi-amd64 from grub2-unsigned has lost kernel/postinst.d script
Status in grub2-unsigned package in Ubuntu:
Fix Released
Status in grub2-unsigned source package in Trusty:
Triaged
Status in grub2-unsigned source package in Xenial:
Triaged
Status in grub2-unsigned source package in Bionic:
Triaged
Bug description:
[Impact]
* /etc/kernel/{postinst.d,postrm.d}/zz-update-grub missing on arm64
with grub-efi-arm64 (a dependency of grub-efi-arm64-signed) installed
* /etc/kernel/{postinst.d,postrm.d}/zz-update-grub missing on amd64
with grub-efi-amd64 (an ORed dependency of grub-efi-amd64-signed)
installed.
* This results in newly installed kernels not getting added to
grub.cfg and thus upon reboot one does not boot into the new kernel.
* In later series these scripts moved to grub2-common, which is why
they are absent in the backported grub-efi-* packages. They should be
restored to these packages in the backport.
[Test Plan]
* Install new grubs
* If testing on amd64 ensure that grub-efi-amd64 is installed, not
grub-pc.
* Install a new kernel that was not installed before
* Observe that grub.cfg is regenerated and new kernel is present
* Remove an old kernel
* Observe that grub.cfg is regenerated and new kernel is removed from
grub.cfg
[Where problems could occur]
* These are conffiles. Although nobody should modify them, care
should be taken when moving conffiles around.
[Other Info]
* First reported by klebers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/1928674/+subscriptions
More information about the foundations-bugs
mailing list