:: [devuan-dev] bug#916: /usr/share/in…
Top Page
Delete this message
Reply to this message
Author: David Kuehling
Date:  
To: Devuan Bug Tracking System
Subject: [devuan-dev] bug#916: /usr/share/initramfs-tools/hooks/kmod broken on armhf for kernels with CONFIG_MODULE_DECOMPRESS
Package: kmod
Version: 34.2-2
Severity: normal
File: /usr/share/initramfs-tools/hooks/kmod
X-Debbugs-Cc: debian-arm@???, dvdkhlng@???
User: debian-arm@???
Usertags: armhf

Hi,

on armhf, the initramfs-hook of kmod fails intermittently, when the
kernel is compiled with CONFIG_MODULE_DECOMPRESS. This prevents
update-initramfs from creating any initrd images.

The failure is triggered by these lines:

          copy_exec /usr/lib/*-linux-gnu/liblzma.so.5
          copy_exec /usr/lib/*-linux-gnu/libzstd.so.1


There is no /usr/lib/*-linux-gnu directory on armhf! The directory is
named /usr/lib/arm-linux-gnueabihf here. Likely other Debian
architectures are affected by the same bug.

I fixed the issue for me by changing these wildcards to

          copy_exec /usr/lib/*-linux-gnu*/liblzma.so.5
          copy_exec /usr/lib/*-linux-gnu*/libzstd.so.1


Not that I really understand the implications of that change :)

cheers,

David

-- System Information:
Distributor ID:    Devuan
Description:    Devuan GNU/Linux 6 (excalibur)
Release:    6
Codename:    excalibur
Architecture: armv7l


Kernel: Linux 6.12.53-dk2 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages kmod depends on:
ii  libc6       2.41-12
ii  libkmod2    34.2-2
ii  libssl3t64  3.5.1-1+deb13u1


kmod recommends no packages.

kmod suggests no packages.

-- no debconf information