Bug 134362

Summary: patterns in %files list no longer match dangling symlinks
Product: [Fedora] Fedora Reporter: Nalin Dahyabhai <nalin>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED ERRATA QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dgregor, jos, mej, nobody+pnasrat, tao, trondeg
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-05 21:09:11 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:
Attachments:
Description Flags
Original fix
none
Test Spec file none

Description Nalin Dahyabhai 2004-10-01 17:45:49 UTC
In glibc 2.3.3-61 and later, glob() no longer returns the names of
dangling symlinks (apparently as a consequence of fixing bug #126460).

This has caused setuptool (which installs a link from /usr/bin/setup
to 'consolehelper', but which doesn't actually supply
/usr/bin/consolehelper) to fail to rebuild, and may affect other
packages.  It can be worked-around on a package-by-package basis by
not using a glob pattern, but this change may confuse people.

Comment 1 Jeff Johnson 2004-10-01 18:28:42 UTC
Ick. Any chance that glibc has retrofitted a new flag to glob
to follow links? I'll look, don't bother.

rpm has internal glob ready and waiting for use if glibc insists
on being pedantically correct.


Comment 2 Jeff Johnson 2004-10-05 21:09:11 UTC
Fixed (by always using internal glob) in rpm-4.3.2-9.

Comment 4 Paul Nasrat 2004-12-22 18:24:59 UTC
Created attachment 109034 [details]
Original fix

Comment 7 Jos Vos 2004-12-29 14:48:51 UTC
RHEL3 U4 does still have this bug, as there rpm-4.2.3-13 is included
that does not have this fix, while the behavior of glibc in RHEL3 is
changed by an updated glibc package.

Should this ticket be reopened, and maybe also changed to RHEL3, or
should a new ticket be opened for this?  On RHEL3 U4 it is currently
not possible to create rpm's in a reliable way, which is not a good thing.

Comment 8 Paul Nasrat 2004-12-29 18:21:56 UTC
Created attachment 109168 [details]
Test Spec file

Simple test case.

Comment 9 Paul Nasrat 2004-12-29 18:31:21 UTC
For FC2 upcoming update rpm-4.3.1-0.4.1, RHEL users stay tuned for further updates 

Comment 16 Paul Nasrat 2005-04-07 07:57:38 UTC
This is scheduled for U5

Comment 17 Dennis Gregorovic 2005-05-18 14:45:21 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-147.html