[Bug 1820898] Re: grub in xenial fails to read pc-linux 4.15 kernel snap
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Mon Apr 1 21:34:43 UTC 2019
Verification-done on xenial:
ubuntu at profound-donkey:~$ snap download pc-kernel --channel 18
Fetching snap "pc-kernel"
Fetching assertions for "pc-kernel"
Install the snap with:
snap ack pc-kernel_192.assert
snap install pc-kernel_192.snap
ubuntu at profound-donkey:~$ grub-fstest pc-kernel_192.snap crc /vmlinuz
441609b6
ubuntu at profound-donkey:~$ dpkg -l grub\* | grep ii
ii grub-common 2.02~beta2-36ubuntu3.21 amd64 GRand Unified Bootloader (common files)
ii grub-efi-amd64 2.02~beta2-36ubuntu3.21 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii grub-efi-amd64-bin 2.02~beta2-36ubuntu3.21 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii grub-efi-amd64-signed 1.66.21+2.02~beta2-36ubuntu3.21 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii grub2-common 2.02~beta2-36ubuntu3.21 amd64 GRand Unified Bootloader (common files for version 2)
grub behaves as expected given the grub-fstest test case provided.
** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1820898
Title:
grub in xenial fails to read pc-linux 4.15 kernel snap
Status in grub2 package in Ubuntu:
Fix Released
Status in grub2 source package in Xenial:
Fix Committed
Bug description:
The grub version in xenial fails to read the pc-kernel 4.15 kernel
snap.
[Test Case] To reproduce (thanks to Colin for the grub-fstest hint):
$ snap download pc-kernel --channel 18
$ grub-fstest pc-kernel_192.snap crc /vmlinuz
This fails with the xenial grub with:
grub-fstest: error: read error at offset 8096256: invalid xz chunk.
but it should work (it works correctly with the grub2 from bionic and
later).
Colin pointed to
https://git.savannah.gnu.org/cgit/grub.git/commit/?id=951306c5094d2bfb46d5baedfde84a2015c4a3fa
which may fix the issue.
[Regression Potential] The fix is in GRUB's squash4 module, so only
workloads that involve reading squashfses could be affected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1820898/+subscriptions
More information about the foundations-bugs
mailing list