[Bug 2057808] Re: [LTS] cryptsetup-initramfs fails when kernel modules are compressed
Stefan Bader
2057808 at bugs.launchpad.net
Thu Mar 14 15:38:26 UTC 2024
Mainline was and is nothing really supported. They are there because
they help debugging (instead of doing bisect builds). When we do
official hwe kernels they get built without module compression (going to
Jammy). When doing your own backports ensure you have "jammy" as the
target in the current changelog section (not UNRELEASED or noble).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/2057808
Title:
[LTS] cryptsetup-initramfs fails when kernel modules are compressed
Status in cryptsetup package in Ubuntu:
Fix Released
Status in linux package in Ubuntu:
Invalid
Status in cryptsetup source package in Jammy:
New
Status in linux source package in Jammy:
Incomplete
Bug description:
This is the same cause as the Mantic bug "cryptsetup autopkgtest fails
with zstd compressed kernel modules"
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/2035120
where hooks/cryptroot::add_modules() needs postfix wildcards after
$glob.ko on 2 lines.
It affects 22.04 LTS with recent kernel or local kernel built with
CONFIG_MODULE_COMPRESS_*
I think the fix needs cherry-picking into LTS release(s).
https://salsa.debian.org/cryptsetup-
team/cryptsetup/-/commit/8359ad85a541b76f388cdc28f549229e3d71e750
At boot-time it results in the cryptic (pun intended) messages:
device-mapper: table: 253:0 crypt: Error allocating crypto tfm (-ENOENT)
device-mapper: ioctl: error adding target to table
device-mapper: reload ioctl on luks_os (253:0) failed: No such file or directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/2057808/+subscriptions
More information about the foundations-bugs
mailing list