[Bug 1995751] Re: update to 2.04-1ubuntu47.4 drops zz-update-grub
Julian Andres Klode
1995751 at bugs.launchpad.net
Tue Nov 15 12:21:12 UTC 2022
** Summary changed:
- update to 2.04-1ubuntu44.2 drops zz-update-grub
+ update to 2.04-1ubuntu47.4 drops zz-update-grub
** Description changed:
- A user reported that the GRUB menu was no longer being updated on a
- freshly deployed bionic system, and that this appears to be because
- /etc/kernel/postinst.d/zz-update-grub has disappeared.
+ [Impact]
+ New kernels don't appear in boot menu after install
+
+ [Test plan]
+ On a bionic VM, purge all grub and shim packages.
+
+ Test 1: Upgrade release EFI stack
+ - Install shim-signed with only release pocket
+ - Enable -updates and add the proposed package, and upgrade
+
+ Test 2: Upgrade broken EFI stack
+ - Install shim-signed with only release and updates pocket
+ - Upgrade grub2 binaries from proposed
+
+ Test 3: Install latest EFI stack
+ - Install shim-signed with release, updates, proposed grub2 enabled.
+
+ Test 1a: Upgrade hybrid release stack:
+ (same as 1, but install shim-signed and grub-pc)
+ Test 2a: Upgrade hybrid broken stack:
+ (same as 2, but install shim-signed and grub-pc)
+ Test 3a: Upgrade hybrid broken stack:
+ (same as 2, but install shim-signed and grub-pc)
+
+ [Where problems could occur]
+ Could have missed a grub-.* binary or gotten the versions wrong and cause file conflicts.
+
+ [Original bug report]
+ A user reported that the GRUB menu was no longer being updated on a freshly deployed bionic system, and that this appears to be because /etc/kernel/postinst.d/zz-update-grub has disappeared.
# The version in the bionic-security pocket has it:
ubuntu at akis:~$ dpkg -c grub-efi-amd64_2.04-1ubuntu44.1.2_amd64.deb | grep zz
-rwxr-xr-x root/root 646 2021-03-03 11:42 ./etc/kernel/postinst.d/zz-update-grub
-rwxr-xr-x root/root 646 2021-03-03 11:42 ./etc/kernel/postrm.d/zz-update-grub
# The version in bionic-updates does not:
ubuntu at akis:~$ dpkg -c grub-efi-amd64_2.04-1ubuntu47.4_amd64.deb | grep zz
ubuntu at akis:~$
** Description changed:
[Impact]
New kernels don't appear in boot menu after install
[Test plan]
On a bionic VM, purge all grub and shim packages.
Test 1: Upgrade release EFI stack
- Install shim-signed with only release pocket
- Enable -updates and add the proposed package, and upgrade
Test 2: Upgrade broken EFI stack
- Install shim-signed with only release and updates pocket
- Upgrade grub2 binaries from proposed
Test 3: Install latest EFI stack
- Install shim-signed with release, updates, proposed grub2 enabled.
Test 1a: Upgrade hybrid release stack:
(same as 1, but install shim-signed and grub-pc)
Test 2a: Upgrade hybrid broken stack:
(same as 2, but install shim-signed and grub-pc)
Test 3a: Upgrade hybrid broken stack:
(same as 2, but install shim-signed and grub-pc)
+ In all cases check that no errors occur and the
+ /etc/kernel/postinst.d/zz-update-grub script exists at the end.
+
[Where problems could occur]
Could have missed a grub-.* binary or gotten the versions wrong and cause file conflicts.
[Original bug report]
A user reported that the GRUB menu was no longer being updated on a freshly deployed bionic system, and that this appears to be because /etc/kernel/postinst.d/zz-update-grub has disappeared.
# The version in the bionic-security pocket has it:
ubuntu at akis:~$ dpkg -c grub-efi-amd64_2.04-1ubuntu44.1.2_amd64.deb | grep zz
-rwxr-xr-x root/root 646 2021-03-03 11:42 ./etc/kernel/postinst.d/zz-update-grub
-rwxr-xr-x root/root 646 2021-03-03 11:42 ./etc/kernel/postrm.d/zz-update-grub
# The version in bionic-updates does not:
ubuntu at akis:~$ dpkg -c grub-efi-amd64_2.04-1ubuntu47.4_amd64.deb | grep zz
ubuntu at akis:~$
** Description changed:
[Impact]
New kernels don't appear in boot menu after install
[Test plan]
On a bionic VM, purge all grub and shim packages.
Test 1: Upgrade release EFI stack
- Install shim-signed with only release pocket
- Enable -updates and add the proposed package, and upgrade
Test 2: Upgrade broken EFI stack
- Install shim-signed with only release and updates pocket
- Upgrade grub2 binaries from proposed
Test 3: Install latest EFI stack
- Install shim-signed with release, updates, proposed grub2 enabled.
Test 1a: Upgrade hybrid release stack:
(same as 1, but install shim-signed and grub-pc)
Test 2a: Upgrade hybrid broken stack:
(same as 2, but install shim-signed and grub-pc)
Test 3a: Upgrade hybrid broken stack:
(same as 2, but install shim-signed and grub-pc)
In all cases check that no errors occur and the
/etc/kernel/postinst.d/zz-update-grub script exists at the end.
+
+ Test 10: (grub2-unsigned)
+
+ Ensure that grub-efi-{amd64,arm64} binary cannot be installed with older
+ grub2-common binary installed / pulls in new binary.
+
+ Test 20: (grub2-signed)
+
+ Ensure that grub-efi-{amd64,arm64}-signed binary cannot be installed
+ with older grub2-common binary installed / pulls in new binary.
+
[Where problems could occur]
Could have missed a grub-.* binary or gotten the versions wrong and cause file conflicts.
[Original bug report]
A user reported that the GRUB menu was no longer being updated on a freshly deployed bionic system, and that this appears to be because /etc/kernel/postinst.d/zz-update-grub has disappeared.
# The version in the bionic-security pocket has it:
ubuntu at akis:~$ dpkg -c grub-efi-amd64_2.04-1ubuntu44.1.2_amd64.deb | grep zz
-rwxr-xr-x root/root 646 2021-03-03 11:42 ./etc/kernel/postinst.d/zz-update-grub
-rwxr-xr-x root/root 646 2021-03-03 11:42 ./etc/kernel/postrm.d/zz-update-grub
# The version in bionic-updates does not:
ubuntu at akis:~$ dpkg -c grub-efi-amd64_2.04-1ubuntu47.4_amd64.deb | grep zz
ubuntu at akis:~$
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1995751
Title:
update to 2.04-1ubuntu47.4 drops zz-update-grub
Status in grub2 package in Ubuntu:
Invalid
Status in grub2-unsigned package in Ubuntu:
Confirmed
Status in grub2 source package in Bionic:
Triaged
Status in grub2-unsigned source package in Bionic:
Confirmed
Bug description:
[Impact]
New kernels don't appear in boot menu after install
[Test plan]
On a bionic VM, purge all grub and shim packages.
Test 1: Upgrade release EFI stack
- Install shim-signed with only release pocket
- Enable -updates and add the proposed package, and upgrade
Test 2: Upgrade broken EFI stack
- Install shim-signed with only release and updates pocket
- Upgrade grub2 binaries from proposed
Test 3: Install latest EFI stack
- Install shim-signed with release, updates, proposed grub2 enabled.
Test 1a: Upgrade hybrid release stack:
(same as 1, but install shim-signed and grub-pc)
Test 2a: Upgrade hybrid broken stack:
(same as 2, but install shim-signed and grub-pc)
Test 3a: Upgrade hybrid broken stack:
(same as 2, but install shim-signed and grub-pc)
In all cases check that no errors occur and the
/etc/kernel/postinst.d/zz-update-grub script exists at the end.
Test 10: (grub2-unsigned)
Ensure that grub-efi-{amd64,arm64} binary cannot be installed with
older grub2-common binary installed / pulls in new binary.
Test 20: (grub2-signed)
Ensure that grub-efi-{amd64,arm64}-signed binary cannot be installed
with older grub2-common binary installed / pulls in new binary.
[Where problems could occur]
Could have missed a grub-.* binary or gotten the versions wrong and cause file conflicts.
[Original bug report]
A user reported that the GRUB menu was no longer being updated on a freshly deployed bionic system, and that this appears to be because /etc/kernel/postinst.d/zz-update-grub has disappeared.
# The version in the bionic-security pocket has it:
ubuntu at akis:~$ dpkg -c grub-efi-amd64_2.04-1ubuntu44.1.2_amd64.deb | grep zz
-rwxr-xr-x root/root 646 2021-03-03 11:42 ./etc/kernel/postinst.d/zz-update-grub
-rwxr-xr-x root/root 646 2021-03-03 11:42 ./etc/kernel/postrm.d/zz-update-grub
# The version in bionic-updates does not:
ubuntu at akis:~$ dpkg -c grub-efi-amd64_2.04-1ubuntu47.4_amd64.deb | grep zz
ubuntu at akis:~$
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1995751/+subscriptions
More information about the foundations-bugs
mailing list