Bug 1031136

Summary: symbolic links for /usr/lib/debug/{lib,lib64,bin,sbin,usr/.dwz} should be owned by the rpm with ghost entries
Product: [Fedora] Fedora Reporter: Andrew J. Schorr <aschorr>
Component: filesystemAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1031550 (view as bug list) Environment:
Last Closed: 2014-06-19 21:16:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1031550    

Description Andrew J. Schorr 2013-11-15 17:12:46 UTC
Description of problem:
The filesystem rpm creates a number of symbolic links under /usr/lib/debug that it should own:


bash-4.2$ rpm --scripts -q filesystem | grep 'symlink.*debug'
posix.symlink("usr/bin", "/usr/lib/debug/bin")
posix.symlink("usr/lib", "/usr/lib/debug/lib")
posix.symlink("usr/lib64", "/usr/lib/debug/lib64")
posix.symlink("../.dwz", "/usr/lib/debug/usr/.dwz")
posix.symlink("usr/sbin", "/usr/lib/debug/sbin")

bash-4.2$ for i in bin lib lib64 sbin usr/.dwz ; do
> rpm -qf $i
> done
file /usr/lib/debug/bin is not owned by any package
file /usr/lib/debug/lib is not owned by any package
file /usr/lib/debug/lib64 is not owned by any package
file /usr/lib/debug/sbin is not owned by any package
file /usr/lib/debug/usr/.dwz is not owned by any package

The spec file has %ghost entries for /var/lock and /var/run that
are also created by posix.symlink.  Please add %ghost entries for
these symbolic links as well.


Version-Release number of selected component (if applicable):
filesystem-3.2-13.fc19.x86_64


How reproducible:
See above.

Steps to Reproduce:
1. rpm -qf /usr/lib/debug/bin
2.
3.

Actual results:
file /usr/lib/debug/bin is not owned by any package


Expected results:
filesystem-3.2-13.fc19.x86_64


Additional info:

Comment 1 Ondrej Vasik 2013-11-17 22:32:26 UTC
Thanks for report, will fix that.

Comment 3 Ondrej Vasik 2014-06-19 21:16:32 UTC
I'll close it rawhide, in the case of filesystem update, it will get update in released fedora's however I don't see this important enough for the separate update.