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 allocation 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
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/ 8359ad85a541b76 f388cdc28f54922 9e3d71e750
At boot-time it results in the cryptic (pun intended) messages:
device-mapper: table: 253:0 crypt: Error allocation 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