[pkg-cryptsetup-devel] Bug#939766: Bug#939766: Bug#939766: cryptsetup-initramfs: Trying to boot linux-image-5.2.0-2-amd64 fails, linux-image-4.19.0-5-amd64 works.
Guilhem Moulin
guilhem at debian.org
Mon Sep 9 11:01:24 BST 2019
Control: retitle -1 cryptsetup-initramfs: Missing libgcc_s on linux-image-5.2.0-2-amd64
On Mon, 09 Sep 2019 at 02:55:06 +0200, Guilhem Moulin wrote:
> This on a sid system upgraded from buster with a ‘usrmerge’ layout:
>
> root at kvm-10487:~# ldd /sbin/cryptsetup | grep -F libc.so
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f075b205000)
> root at kvm-10487:~# readlink -f /lib/*linux-gnu/libc.so*
> /usr/lib/x86_64-linux-gnu/libc-2.28.so
> root at kvm-10487:~# lsinitramfs /initrd.img | grep libgcc
> usr/lib/x86_64-linux-gnu/libgcc_s.so.1
And also:
root at kvm-10487:~# uname -r
5.2.0-2-amd64
root at kvm-10487:~# dpkg -l | grep -Fe linux-image-5.2.0-2-amd64 -e libc6 -e libgcc1
ii libc6:amd64 2.29-1 amd64 GNU C Library: Shared libraries
ii libgcc1:amd64 1:9.2.1-7 amd64 GCC support library
ii linux-image-5.2.0-2-amd64 5.2.9-2 amd64 Linux 5.2 for 64-bit PCs (signed)
root at kvm-10487:~# dpkg -L libc6 | grep -F libc.so
/lib/x86_64-linux-gnu/libc.so.6
root at kvm-10487:~# dpkg -L libgcc1 | grep -F libgcc_s.so
/lib/x86_64-linux-gnu/libgcc_s.so.1
root at kvm-10487:~# readlink -e /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libgcc_s.so.1
/usr/lib/x86_64-linux-gnu/libc-2.29.so
/usr/lib/x86_64-linux-gnu/libgcc_s.so.1
root at kvm-10487:~# cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
So AFAICT libc6 installs its soname under /lib/$MULTIARCH, and with the
default ld.so.conf ldd(1) looks there before its counterpart in /usr, so
that's what we want LIBC_DIR to be.
--
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20190909/0f8055c0/attachment.sig>
More information about the pkg-cryptsetup-devel
mailing list