[Bug 2035120] [NEW] cryptsetup autopkgtest fails with zstd compressed kernel modules

Andrea Righi 2035120 at bugs.launchpad.net
Mon Sep 11 15:57:54 UTC 2023


Public bug reported:

[Impact]

cryptsetup is using a custom script to create an initramfs and include
kernel modules, however it is encoding *.ko and now that we have zstd
compressed modules in the kernel it fails to include the proper modules
in the initramfs (since the modules are now called *.ko.zst).

[Test case]

Run cryptsetup autopkgtest.

[Fix]

Workaround this issue by unpacking all modules in a temporary extract
directory, so that debian/tests/utils/mkinitramfs can support either
compressed and uncompressed modules.

[Regression potential]

This change fixes the autopkgtest test case, it doesn't touch cryptsetup
at all, so the only regressions that we can experience are in the
autopkgtest.

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

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

** Also affects: cryptsetup (Ubuntu Mantic)
   Importance: Undecided
       Status: New

-- 
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/2035120

Title:
  cryptsetup autopkgtest fails with zstd compressed kernel modules

Status in cryptsetup package in Ubuntu:
  New
Status in cryptsetup source package in Mantic:
  New

Bug description:
  [Impact]

  cryptsetup is using a custom script to create an initramfs and include
  kernel modules, however it is encoding *.ko and now that we have zstd
  compressed modules in the kernel it fails to include the proper
  modules in the initramfs (since the modules are now called *.ko.zst).

  [Test case]

  Run cryptsetup autopkgtest.

  [Fix]

  Workaround this issue by unpacking all modules in a temporary extract
  directory, so that debian/tests/utils/mkinitramfs can support either
  compressed and uncompressed modules.

  [Regression potential]

  This change fixes the autopkgtest test case, it doesn't touch
  cryptsetup at all, so the only regressions that we can experience are
  in the autopkgtest.

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




More information about the foundations-bugs mailing list