Package: btrfs-progs
Version: 5.4.1-1
Severity: critical
My system didn't boot anymore. initramfs complained that for
phread_cancel you need libgcc_s.so installed.
The btrfs hook for initramfs expects it to be in the same dir as libc6.
But that's not true anymore since libgcc1 has been updated from gcc-9 to gcc-10.
libgcc1 in bullseye (version: 1:9.2.1-25) has it in /lib/x86_64-linux-gnu/
In sid (version: 1:10-20200202-1) it's directly in /lib/
or alternatetively in the new libgcc-s1 it is in /usr/lib/x86_64-linux-gnu/
quick&dirty solution:
--- btrfs.old 2020-02-03 14:39:26.409270708 +0100
+++ btrfs 2020-02-03 14:39:46.602089060 +0100
@@ -25,8 +25,8 @@
then
copy_exec /sbin/fsck.btrfs /sbin
fi
- LIBC_DIR=$(ldd /bin/btrfs | sed -nr 's#.* =>
(/lib.*)/libc\.so\.[0-9.-]+ \(0x[[:xdigit:]]+\)$#\1#p')
- find -L "$LIBC_DIR" -maxdepth 1 -name 'libgcc_s.*' -type f | while read
so; do
+# LIBC_DIR=$(ldd /bin/btrfs | sed -nr 's#.* =>
(/lib.*)/libc\.so\.[0-9.-]+ \(0x[[:xdigit:]]+\)$#\1#p')
+ find -L "/lib" -maxdepth 1 -name 'libgcc_s.*' -type f | while read so;
do
copy_exec "$so"
done
fi
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages btrfs-progs depends on:
ii libblkid1 2.34-0.1
ii libc6 2.29-9
ii libcom-err2 1.45.5-2
ii libext2fs2 1.45.5-2
ii liblzo2-2 2.10-2
ii libuuid1 2.34-0.1
ii libzstd1 1.4.4+dfsg-1
ii zlib1g 1:1.2.11.dfsg-1.2
btrfs-progs recommends no packages.
Versions of packages btrfs-progs suggests:
pn duperemove <none>
-- no debconf information