Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #66253 > unrolled thread
| Started by | Guilhem Moulin <guilhem@debian.org> |
|---|---|
| First post | 2020-01-30 16:50 +0100 |
| Last post | 2020-04-28 21:30 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.debian.kernel
Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s Guilhem Moulin <guilhem@debian.org> - 2020-01-30 16:50 +0100
Bug#950254: System not boot because of missing libgcc_s.so.1 when unlocking the encrypted disk Jens Yllman <jens@yllman.se> - 2020-02-03 09:30 +0100
Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s Vincent Bernat <bernat@debian.org> - 2020-02-03 13:30 +0100
Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s Guilhem Moulin <guilhem@debian.org> - 2020-02-05 01:30 +0100
Bug#950254: marked as done (initramfs-tools: Please make libpthread pull in libgcc_s) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-04-28 21:30 +0200
| From | Guilhem Moulin <guilhem@debian.org> |
|---|---|
| Date | 2020-01-30 16:50 +0100 |
| Subject | Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s |
| Message-ID | <zukeR-5j4-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Package: initramfs-tools
Version: 0.136
Severity: wishlist
Dear Maintainer,
libthread appears to load libgcc_s via dlopen, so copy_exec() won't copy
it to the initramfs image. This causes pthread_cancel to fail with
LIBGCC_S_SO must be installed for pthread_cancel to work
https://sources.debian.org/src/glibc/2.29-9/fbtl/sysdeps/pthread/unwind-forcedunwind.c/#L64
Some packages (cryptsetup-initramfs, open-iscsi, btrfs-progs, and
probably others) have added brittle workarounds to their initramfs hooks
to copy libgcc_s. As discussed here at HSBXL, please consider making
libthread pull libgcc_s. (Or alternatively, providing a helper function
so these packages don't need to reinvent the wheel.)
Thanks,
cheers,
--
Guilhem.
[toc] | [next] | [standalone]
| From | Jens Yllman <jens@yllman.se> |
|---|---|
| Date | 2020-02-03 09:30 +0100 |
| Subject | Bug#950254: System not boot because of missing libgcc_s.so.1 when unlocking the encrypted disk |
| Message-ID | <zvFhf-4TU-5@gated-at.bofh.it> |
| In reply to | #66253 |
Hi, After update of my debian unstable today I can not unlock my encrypted disk at boot cause of 'missing' libgcc_s.so.1. The update did rebuild the boot cause of the new firmwares included in the update. The update included Start-Date: 2020-02-03 07:49:10 Commandline: apt upgrade Requested-By: jpyllman (1000) Upgrade: binutils-dev:amd64 (2.34-1, 2.34-2), libctf-nobfd0:amd64 (2.34-1, 2.34-2), binutils:amd64 (2.34-1, 2.34-2), libzbar0:amd64 (0.23-1.2, 0.23-1.3), libgexiv2-2:amd64 (0.12.0-1, 0.12.0-2), binutils-x86-64-linux-gnu:amd64 (2.34-1, 2.34-2), firmware-linux-free:amd64 (3.4, 20200122-1), libfwupdplugin1:amd64 (1.3.7-1, 1.3.7-2), libsdl2-2.0-0:amd64 (2.0.10+dfsg1-1, 2.0.10+dfsg1-2), libfwupd2:amd64 (1.3.7-1, 1.3.7-2), binutils-common:amd64 (2.34-1, 2.34-2), libbinutils:amd64 (2.34-1, 2.34-2), libctf0:amd64 (2.34-1, 2.34-2) End-Date: 2020-02-03 07:49:27 I have Package: initramfs-tools Version: 0.136 on my system. Jens
[toc] | [prev] | [next] | [standalone]
| From | Vincent Bernat <bernat@debian.org> |
|---|---|
| Date | 2020-02-03 13:30 +0100 |
| Message-ID | <zvJ1v-76r-3@gated-at.bofh.it> |
| In reply to | #66253 |
Package: initramfs-tools
Version: 0.136
Followup-For: Bug #950254
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
I was also hit by this bug. The issue is that the upload of gcc-10
moved libgcc_s.so to /lib instead of /lib/x86_64-linux-gnu. The hack
in cryptroot hook doesn't find it anymore. As a workaround, I have
modified the find line to:
find -L /lib -maxdepth 1 -name 'libgcc_s.*' -type f | while read so; do
copy_exec "$so"
done
(hardcoding /lib).
- -- Package-specific info:
- -- initramfs sizes
- -rw-r--r-- 1 root root 19M Feb 1 08:26 /boot/initrd.img-5.4.0-2-amd64
- -rw-r--r-- 1 root root 20M Feb 3 13:20 /boot/initrd.img-5.4.0-3-amd64
- -- /proc/cmdline
BOOT_IMAGE=/vmlinuz-5.4.0-3-amd64 root=/dev/mapper/guybrush--vg-root ro splash quiet
- -- resume
RESUME=/dev/mapper/guybrush--vg-swap
- -- /proc/filesystems
ext3
ext2
ext4
vfat
fuseblk
- -- lsmod
Module Size Used by
xt_addrtype 16384 2
xt_MASQUERADE 20480 1
ip6t_REJECT 16384 11
nf_reject_ipv6 20480 1 ip6t_REJECT
ip6t_rpfilter 16384 1
xt_tcpudp 20480 6
ipt_REJECT 16384 2
nf_reject_ipv4 16384 1 ipt_REJECT
xt_conntrack 16384 15
nft_counter 16384 291
ip6_tables 36864 2
ip_tables 32768 0
nft_compat 20480 40
sctp 405504 22
binfmt_misc 24576 1
veth 32768 0
cpuid 16384 0
uinput 20480 0
snd_usb_audio 290816 2
snd_usbmidi_lib 40960 1 snd_usb_audio
snd_rawmidi 45056 1 snd_usbmidi_lib
usbhid 65536 0
snd_seq_device 16384 1 snd_rawmidi
cdc_ether 24576 0
usbnet 49152 1 cdc_ether
r8152 77824 0
mii 16384 2 usbnet,r8152
fuse 139264 3
xfrm_user 40960 1
xfrm_algo 16384 1 xfrm_user
br_netfilter 28672 0
bridge 200704 1 br_netfilter
stp 16384 1 bridge
llc 16384 2 bridge,stp
overlay 135168 0
tun 57344 2
ctr 16384 0
ccm 20480 0
rfcomm 90112 4
cmac 16384 1
nft_chain_nat 16384 8
nf_nat 49152 2 nft_chain_nat,xt_MASQUERADE
nf_conntrack 159744 3 xt_conntrack,nf_nat,xt_MASQUERADE
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
libcrc32c 16384 3 nf_conntrack,nf_nat,sctp
ip_set 53248 0
nf_tables 167936 421 nft_compat,nft_counter,nft_chain_nat
nfnetlink 16384 5 nft_compat,nf_tables,ip_set
bnep 28672 2
btusb 57344 0
btrtl 24576 1 btusb
btbcm 16384 1 btusb
btintel 28672 1 btusb
bluetooth 659456 33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
uvcvideo 114688 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_common 57344 2 videobuf2_v4l2,uvcvideo
drbg 28672 1
videodev 249856 3 videobuf2_v4l2,uvcvideo,videobuf2_common
ansi_cprng 16384 0
ecdh_generic 16384 2 bluetooth
mc 57344 5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
ecc 32768 1 ecdh_generic
snd_sof_pci 20480 0
snd_sof_intel_hda_common 73728 1 snd_sof_pci
msr 16384 0
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_intel_byt 20480 1 snd_sof_pci
snd_sof_intel_ipc 20480 1 snd_sof_intel_byt
snd_sof 118784 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
snd_sof_xtensa_dsp 16384 1 snd_sof_pci
snd_hda_codec_hdmi 73728 1
intel_rapl_msr 20480 0
snd_soc_skl 180224 0
snd_soc_hdac_hda 24576 2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core 32768 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc 20480 1 snd_soc_skl
snd_soc_sst_dsp 40960 1 snd_soc_skl
snd_soc_acpi_intel_match 32768 3 snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
x86_pkg_temp_thermal 20480 0
snd_soc_acpi 16384 3 snd_sof_pci,snd_soc_acpi_intel_match,snd_soc_skl
intel_powerclamp 20480 0
coretemp 20480 0
snd_soc_core 270336 4 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_hda_codec_realtek 126976 1
joydev 28672 0
snd_hda_codec_generic 94208 1 snd_hda_codec_realtek
snd_compress 28672 1 snd_soc_core
iwlmvm 307200 0
kvm_intel 303104 0
kvm 774144 1 kvm_intel
irqbypass 16384 1 kvm
mac80211 864256 1 iwlmvm
snd_hda_intel 49152 2
intel_cstate 16384 0
libarc4 16384 1 mac80211
snd_intel_nhlt 20480 3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_hda_codec 155648 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
intel_uncore 147456 0
snd_hda_core 102400 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
intel_rapl_perf 16384 0
nls_ascii 16384 1
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
nls_cp437 20480 1
efi_pstore 16384 0
iTCO_wdt 16384 0
snd_pcm 118784 9 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_soc_skl,snd_hda_core
vfat 20480 1
iTCO_vendor_support 16384 1 iTCO_wdt
tpm_crb 20480 0
fat 86016 1 vfat
serio_raw 20480 0
pcspkr 16384 0
iwlwifi 274432 1 iwlmvm
thinkpad_acpi 110592 0
efivars 20480 1 efi_pstore
snd_timer 40960 1 snd_pcm
tpm_tis 16384 0
watchdog 28672 1 iTCO_wdt
hid_multitouch 32768 0
mei_me 45056 0
tpm_tis_core 24576 1 tpm_tis
intel_wmi_thunderbolt 20480 0
wmi_bmof 16384 0
cfg80211 823296 3 iwlmvm,iwlwifi,mac80211
mei 118784 1 mei_me
nvram 16384 1 thinkpad_acpi
processor_thermal_device 20480 0
ledtrig_audio 16384 3 snd_hda_codec_generic,snd_hda_codec_realtek,thinkpad_acpi
intel_rapl_common 28672 2 intel_rapl_msr,processor_thermal_device
tpm 73728 3 tpm_tis,tpm_crb,tpm_tis_core
snd 98304 23 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi
intel_soc_dts_iosf 20480 1 processor_thermal_device
ucsi_acpi 16384 0
typec_ucsi 45056 1 ucsi_acpi
intel_pch_thermal 16384 0
soundcore 16384 1 snd
int3403_thermal 16384 0
typec 49152 1 typec_ucsi
rng_core 16384 1 tpm
rfkill 28672 4 bluetooth,thinkpad_acpi,cfg80211
ac 16384 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
evdev 28672 25
acpi_tad 16384 0
int3400_thermal 20480 0
acpi_pad 28672 0
acpi_thermal_rel 16384 1 int3400_thermal
efivarfs 16384 1
x_tables 49152 10 xt_conntrack,ip6t_rpfilter,nft_compat,xt_tcpudp,xt_addrtype,ip6_tables,ipt_REJECT,ip_tables,xt_MASQUERADE,ip6t_REJECT
autofs4 53248 2
ext4 761856 6
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 131072 1 ext4
crc32c_generic 16384 0
dm_crypt 45056 1
dm_mod 155648 22 dm_crypt
hid_generic 16384 0
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
crc32c_intel 24576 12
i915 1982464 32
ghash_clmulni_intel 16384 0
i2c_designware_platform 16384 0
i2c_designware_core 24576 1 i2c_designware_platform
i2c_algo_bit 16384 1 i915
aesni_intel 372736 3
xhci_pci 20480 0
drm_kms_helper 212992 1 i915
xhci_hcd 278528 1 xhci_pci
crypto_simd 16384 1 aesni_intel
psmouse 180224 0
cryptd 24576 3 crypto_simd,ghash_clmulni_intel
glue_helper 16384 1 aesni_intel
drm 548864 14 drm_kms_helper,i915
usbcore 307200 10 xhci_hcd,usbnet,snd_usb_audio,usbhid,snd_usbmidi_lib,uvcvideo,btusb,xhci_pci,cdc_ether,r8152
thunderbolt 196608 0
nvme 49152 3
i2c_i801 32768 0
nvme_core 106496 5 nvme
intel_lpss_pci 20480 0
intel_lpss 16384 1 intel_lpss_pci
idma64 20480 0
mfd_core 16384 1 intel_lpss
usb_common 16384 3 xhci_hcd,usbcore,uvcvideo
wmi 36864 2 intel_wmi_thunderbolt,wmi_bmof
i2c_hid 32768 0
hid 143360 4 i2c_hid,usbhid,hid_multitouch,hid_generic
battery 20480 1 thinkpad_acpi
video 49152 2 thinkpad_acpi,i915
button 20480 0
- -- /etc/initramfs-tools/modules
- -- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
- -- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
RUNSIZE=10%
- -- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
- -- /etc/crypttab
nvme0n1p3_crypt UUID=cf95aa77-7622-483a-84af-e0ea28792c6a none luks,discard
- -- /sys/block
dm-0
dm-1
dm-2
dm-3
dm-4
dm-5
dm-6
nvme0n1
- -- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
amd64_microcode
cryptgnupg
cryptgnupg-sc
cryptkeyctl
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
intel_microcode
keymap
klibc-utils
kmod
lvm2
ntfs_3g
plymouth
resume
thermal
udev
zz-busybox
- -- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental-debug'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.136
ii linux-base 4.6
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.10-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCAAwFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAl44EJESHGJlcm5hdEBk
ZWJpYW4ub3JnAAoJEJWkL+g1NSX54cYP/27AGaEz/TqHGv30Jse/dzK1V4lCaPRN
rx2uHczKxmJ2oHfb5u1JIApNZ/FwSt81l04vs/OrJTqIXh+L3L+PUzNErqEPGE1n
a44aXB1r8Fl1rkvHtu550PSYmwG3ZA7UZUnNQjZHSjI5f2d7nXz06wsLJU8eqhtr
TQnPfRG/2g8ASVTU8Q0PK2hCZ9dikyBRrC3rzFs41G6J5F4+kmlWO7rrrKdXCli3
zUncH81e6zaOSbXxochHNzQsF+dQfsvkjCnEKPlC8vJyMs1rwf38iZl6Z5SX5C7q
Bwsr4mhtHdvp8HsDjui2FdpazJlCxk+MwhPbJK7pKh8G3Yx40oCBlD5pMl7ZOUBO
5pb0ZWOjswYiXflHj1Rduf4xxROGNq0nUhEyerLOBeIdtmiTE6RQixYWxLOMdkwk
3XpC12ySIg6qAgS9tAXAHdrG1TKT1vJTLYjj/lrNCWInrb82Y4gOp0Gg0Z3cvp4r
R68qN+4D7/K89R7qQSAaoHlx+CREM+RVu7sh0UvbV9a9sp0t3TktK8u/s7UOBBmg
qM+1e9ceVAYKoXGEd5wqZbEVQBpo9/DTqHiHkFwDdXCJXhJVvZKkagsVF8ablxZI
X068l1/usHZYa4Til0RWD49MyjAFFOATitpBj85+h9XzQ0/455sVnV13yQL69ftQ
NAqcFqf0XwN/
=/Bze
-----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Guilhem Moulin <guilhem@debian.org> |
|---|---|
| Date | 2020-02-05 01:30 +0100 |
| Message-ID | <zwgJP-1Pv-3@gated-at.bofh.it> |
| In reply to | #66292 |
[Multipart message — attachments visible in raw view] — view raw
On Mon, 03 Feb 2020 at 13:22:44 +0100, Vincent Bernat wrote: > The hack in cryptroot hook doesn't find it anymore. FWIW a mitigation was meanwhile uploaded as cryptsetup-initramfs 2:2.2.2-3, cf. #950628. -- Guilhem.
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2020-04-28 21:30 +0200 |
| Subject | Bug#950254: marked as done (initramfs-tools: Please make libpthread pull in libgcc_s) |
| Message-ID | <A0E5A-7iN-33@gated-at.bofh.it> |
| In reply to | #66253 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Tue, 28 Apr 2020 17:33:36 +0000 with message-id <E1jTU6y-000BBA-6M@fasolo.debian.org> and subject line Bug#950254: fixed in initramfs-tools 0.137 has caused the Debian Bug report #950254, regarding initramfs-tools: Please make libpthread pull in libgcc_s to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 950254: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950254 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web