Bug 837067 - rpm -qf claims that file in non-standard path with symlinked dir belongs to package
rpm -qf claims that file in non-standard path with symlinked dir belongs to p...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
17
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Fedora Packaging Toolset Team
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-02 12:16 EDT by Petr Lautrbach
Modified: 2012-07-03 01:32 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-07-03 01:32:01 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Lautrbach 2012-07-02 12:16:19 EDT
Version-Release number of selected component (if applicable):
rpm-4.9.1.3-7.fc17.x86_64

How reproducible:
always

Steps to Reproduce:
# ln -s /usr/bin/ /root/bin

# rpm -qf /root/bin/ls
coreutils-8.15-6.fc17.x86_64

# rpm -ql coreutils | grep /bin/ls
/usr/bin/ls

  
Actual results:


Expected results:


Additional info:
Comment 1 Panu Matilainen 2012-07-03 01:32:01 EDT
And? The file you see through /root/bin/ls IS the same thing (same inode really) as /usr/bin/ls, and coreutils owns it. The /root/bin symlink is not owned by anybody however.

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