Bug 21438

Summary: ld.so.conf contains redundant /usr/lib
Product: [Retired] Red Hat Linux Reporter: rock
Component: ldconfigAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-28 23:08:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description rock 2000-11-28 18:30:49 UTC
/usr/lib is in /etc/ld.so.conf.  This is uneccisary, since ldconfig 
searches it by default.  It makes ldconfig -v complain.  Furthermore, it 
seems to slow down ldconfig somewhat.

Comment 1 Jakub Jelinek 2000-11-29 11:38:30 UTC
/usr/lib is inserted into ld.so.conf by some packages in their %post scripts
(because if those packages are relocated somewhere else, they need to register
their library paths with ldconfig). Those scripts could test if the library
path is different than /lib and /usr/lib, but as it is harmless, I don't think
they need to be changed.