Bug 782589

Summary: When copying directory into report using addCopySpec, links inside are not handled correctly
Product: Red Hat Enterprise Linux 6 Reporter: David Kutálek <dkutalek>
Component: sosAssignee: Bryn M. Reeves <bmr>
Status: CLOSED ERRATA QA Contact: David Kutálek <dkutalek>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: agk, bmr, gavin, lmiksik, prc
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-2.2-18.el6 Doc Type: Bug Fix
Doc Text:
* Previous versions of the sos package did not correctly handle the targets of symbolic links when copying files and directories into the report * Under some circumstances "dangling" symbolic links could appear in the report directory structure * The library routines dealing with file copying have been fixed to always copy symbolic link targets when a requested path contains a symbolic link * The sosreport command now properly handles symbolic link targets and will always collect the target of links when available
Story Points: ---
Clone Of: 717962 Environment:
Last Closed: 2012-06-20 07:25:25 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: 717962    
Bug Blocks:    

Comment 3 Bryn M. Reeves 2012-05-01 13:27:11 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
* Previous versions of the sos package did not correctly handle the targets of symbolic links when copying files and directories into the report
* Under some circumstances "dangling" symbolic links could appear in the report directory structure
* The library routines dealing with file copying have been fixed to always copy symbolic link targets when a requested path contains a symbolic link
* The sosreport command now properly handles symbolic link targets and will always collect the target of links when available

Comment 5 errata-xmlrpc 2012-06-20 07:25:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0958.html