Bug 618426

Summary: find-debuginfo.sh can omit hard links that cross directories
Product: [Fedora] Fedora Reporter: Roland McGrath <roland>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: acme, ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 618428 (view as bug list) Environment:
Last Closed: 2011-01-19 13:43:43 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:
Bug Depends On:    
Bug Blocks: 618428    
Attachments:
Description Flags
fix patch none

Description Roland McGrath 2010-07-26 22:06:59 UTC
Created attachment 434542 [details]
fix patch

Description of problem:
The find-debuginfo.sh script makes hard links of .debug files to correspond to hard links between install binaries.  It can fail to create one of these .debug hard links if it's in a directory that didn't exist at that point in the script run.  How this happens depends on things like the order "find" lists files, so it can be hard to reproduce off hand.

The fix is simple.

Version-Release number of selected component (if applicable):
rpm-build-4.8.1-2.fc13.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Fix attached.

Comment 1 Panu Matilainen 2010-08-09 12:32:10 UTC
Applied upstream now, thanks for the patch!

Comment 2 Panu Matilainen 2011-01-19 13:43:43 UTC
Fixed in rawhide as of rpm-4.9.0-0.beta1.1.fc15.