Package: btrfs-progs
Version: 6.14-1
Severity: minor
Dear Maintainer,
After upgrading to Trixie, btrfs-progs causes the following error to
be printed from the initramfs:
modprobe: module btrfs not found in modules.dep
I believe this is due to
/usr/share/initramfs-tools/scripts/local-premount/btrfs calling
`modprobe btrfs` even though the btrfs module may not be present in
the initramfs. (It is not present on this system due to not having
any btrfs partitions. btrfs-progs is installed for working with
external media.)
A few potential solutions:
1. Only add the btrfs executable to the initramfs when there is a
btrfs partition in use (i.e. cases when the btrfs module is added).
2. Send modprobe stderr to /dev/null.
3. Unconditionally add the btrfs module to initramfs from
/usr/share/initramfs-tools/hooks/btrfs by calling
manual_add_modules.
I'm sure there are other solutions as well. I'd prefer solutions
which minimize the amount of unnecessary initramfs code on systems not
using btrfs for system partitions.
Thanks,
Kevin
-- System Information:
Debian Release: 13.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.43+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages btrfs-progs depends on:
ii libblkid1 2.41-5
ii libc6 2.41-12
ii libcom-err2 1.47.2-3+b3
ii libext2fs2t64 1.47.2-3+b3
ii liblzo2-2 2.10-3+b1
ii libreiserfscore0t64 1:3.6.27-9
ii libudev1 257.8-1~deb13u2
ii libuuid1 2.41-5
ii libzstd1 1.5.7+dfsg-1
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
btrfs-progs recommends no packages.
Versions of packages btrfs-progs suggests:
pn duperemove <none>
-- no debconf information