Bug 1031136 - symbolic links for /usr/lib/debug/{lib,lib64,bin,sbin,usr/.dwz} should be owned by the rpm with ghost entries
Summary: symbolic links for /usr/lib/debug/{lib,lib64,bin,sbin,usr/.dwz} should be own...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: filesystem
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1031550
TreeView+ depends on / blocked
 
Reported: 2013-11-15 17:12 UTC by Andrew J. Schorr
Modified: 2014-06-19 21:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1031550 (view as bug list)
Environment:
Last Closed: 2014-06-19 21:16:32 UTC
Type: Bug


Attachments (Terms of Use)

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.


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