Public bug reported:

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

** Affects: cryptsetup (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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: 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2057808

Title:
  [LTS] cryptsetup-initramfs fails when kernel modules are compressed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/2057808/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to