Bug 120588

Summary: ld.so.conf.d is empty for fc2-test2 upgrade install
Product: [Fedora] Fedora Reporter: Alan Crosswell <alan>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: drepper
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3.3-47 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-01 07:39:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alan Crosswell 2004-04-11 15:41:38 UTC
Description of problem:

glibc's new ld.so.conf is installed as ld.so.conf.rpmnew and contains
"include ld.so.conf.d/*" however ld.so.conf.d is empty.  Manifests
itself as failure to start X.  Is this new ld.so.conf.d stuff supposed
to be getting filled in by package installs?

Note that if I had ignored the ld.so.conf.rpmnew, things would have
kept working -- until some package install added a file to ld.so.conf.d.

Version-Release number of selected component (if applicable):

glibc-2.3.3-18


How reproducible:

upgrade from FC1 to FC2-test2

Steps to Reproduce:
1. Do an upgrade installation of FC2-test2
2. Read thru /root/upgrade.log and notice warning about ld.so.conf.rpmnew
3. mv ld.so.conf.rpmnew to ld.so.conf
4. rerun ldconfig
5. reboot and try to startx.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ulrich Drepper 2004-10-01 07:29:32 UTC
FC2 is long released and we never saw such a problem.  If you still
have problems with FC3t2 (not FC2, it's pointless to test this at this
point) reopen the bug.

Comment 2 Jakub Jelinek 2004-10-01 07:37:52 UTC
Well, there is a problem in FC2 glibc in that it doesn't edit
/etc/ld.so.conf in glibc_post_upgrade to insert the include ld.so.conf.d/*.
So for FC2 you need to insert that manually.
Step 3. is a user bug though, if there is a rpmnew file, the administrator
is supposed to merge the files together, not simply overwrite one with
another, there might be bad consequences of doing that.

FC3t2 glibc_post_upgrade inserts include ld.so.conf.d/*, so this bug is issue
is fixed in rawhide.