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

Launchpad Bug Tracker 2035120 at bugs.launchpad.net
Mon Sep 11 16:16:25 UTC 2023


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

[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


** Tags: patch
-- 
cryptsetup autopkgtest fails with zstd compressed kernel modules
https://bugs.launchpad.net/bugs/2035120
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list