Bug 618426 - find-debuginfo.sh can omit hard links that cross directories
Summary: find-debuginfo.sh can omit hard links that cross directories
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 618428
TreeView+ depends on / blocked
 
Reported: 2010-07-26 22:06 UTC by Roland McGrath
Modified: 2011-01-19 13:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 618428 (view as bug list)
Environment:
Last Closed: 2011-01-19 13:43:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix patch (833 bytes, patch)
2010-07-26 22:06 UTC, Roland McGrath
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.