[Bug 1820898] Re: grub in xenial fails to read pc-linux 4.15 kernel snap
Launchpad Bug Tracker
1820898 at bugs.launchpad.net
Tue Apr 2 18:00:57 UTC 2019
This bug was fixed in the package grub2 - 2.02~beta2-36ubuntu3.21
---------------
grub2 (2.02~beta2-36ubuntu3.21) xenial; urgency=medium
* debian/patches/squash4-fix-fragments-and-sparse-files.patch: Cherry-pick
upstream patch to fix handling of fragments and sparse files in squashfs
filesystems (LP: #1820898).
-- Colin Watson <cjwatson at ubuntu.com> Wed, 20 Mar 2019 00:31:55 +0000
** Changed in: grub2 (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
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 Released
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