Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1245718
| From | Steev Klimaszewski <steev@kali.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1103478: kmod: Unable to load compressed modules in initramfs. |
| Date | 2025-05-12 17:50 +0200 |
| Message-ID | <KLDzH-2Csq-3@gated-at.bofh.it> (permalink) |
| References | <KCJEl-ejEX-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Package: kmod
Version: 34.2-2
Followup-For: Bug #1103478
User: devel@kali.org
Usertags: origin-kali
Dear Maintainer,
The fix for this is incomplete, and breaks initramfs generation for
architectures that do not end in linux-gnu.
One one of those systems, it is not quickly apparent what the issue is as you
simply get the following output during initramfs generation:
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
The problem is that for example, on armel or armhf, the multiarch directory
exist as /usr/lib/arm-linux-gnueabi for armel, and /usr/lib/arm-linux-gnueabihf
as armhf, and we only glob at the start, not the ending.
One potential workaround is to add a glob at the end ala '*-linux-gnu*' but
another could be to use a find on /usr/lib something like
find /usr/lib/ -path "*/liblzma.so.5" -type f -exec copy_exec {} \;
I do not know how that would work on a system that actually does have
multiple architectures installed but I would assume it would copy in all of
the enabled architecture's liblzma.so.5 files.
I think the double glob would be the fastest fix, even if it does seem
inelegant.
--steev
Versions of packages kmod depends on:
ii libc6 2.41-6
ii libkmod2 34.2-2
ii libssl3t64 3.5.0-1
kmod recommends no packages.
kmod suggests no packages.
-- no debconf information
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1103478: kmod: Unable to load compressed modules in initramfs. Ethan R <debian-bug-reports.radial205@passmail.net> - 2025-04-18 04:30 +0200 Bug#1103478: Fix / workaround debian-bug-reports.radial205@passmail.net - 2025-04-18 19:50 +0200 Bug#1103478: kmod: Unable to load compressed modules in initramfs. Steev Klimaszewski <steev@kali.org> - 2025-05-12 17:50 +0200
csiph-web