Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739014 - app-misc/pax-utils does not support ld.so.cache format of sys-libs/glibc-2.32
Summary: app-misc/pax-utils does not support ld.so.cache format of sys-libs/glibc-2.32
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.32
  Show dependency tree
 
Reported: 2020-08-25 22:50 UTC by Sergei Trofimovich
Modified: 2021-01-27 16:02 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich gentoo-dev 2020-08-25 22:50:22 UTC
Noticed by Whissi:

$ scanelf -L -n -q -F '%n #F' /bin/bash
libreadline.so.8,libtinfo.so.6,libc.so.6

These should report absolute paths. glibc-2.32 enabled new ld.so.cache format. 

We'll need to add support for it around https://gitweb.gentoo.org/proj/pax-utils.git/tree/paxldso.c#n179
Comment 1 tt_1 2020-11-08 07:07:00 UTC
does this have any real consequences? glibc-2.32-r2 is stable now, can user upgrade or rather wait for pax-utils update?
Comment 2 Sergei Trofimovich gentoo-dev 2020-11-08 11:28:00 UTC
I'm not aware of any code that uses it for critical purposes.
Comment 3 Sam James archtester gentoo-dev Security 2020-11-08 11:28:36 UTC
(In reply to Sergei Trofimovich from comment #2)
> I'm not aware of any code that uses it for critical purposes.

Yeah, the only issue is for developers. We use it for some of our reverse dependency scripts.
Comment 4 Sam James archtester gentoo-dev Security 2021-01-27 15:22:16 UTC
Manually generating the cache with the legacy/compat format works for now:
$ ldconfig -c compat

$ ~/bin/rdeps.sh /usr/bin/install
sys-apps/acl:0: /lib64/libacl.so.1.1.2253
sys-apps/attr:0: /lib64/libattr.so.1.1.2448
sys-libs/glibc:2.2: /lib64/libc-2.32.so