Bug 192631 - rpm -qlv should output security context as well
Summary: rpm -qlv should output security context as well
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 5
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-22 00:43 UTC by Christian Krause
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-29 12:27:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christian Krause 2006-05-22 00:43:47 UTC
This is a feature request:

rpm -V shows me that the security context of some files differs between the
installed file and the stored information in the rpm database.

To have a look at these problems I want to compare the security context. For the
installed files I can use ls -Z, but I didn't found a way to display the
security context of the rpm database with rpm -qlv.

I've already looked into the source of rpm and it seems, that this function is
just not implemented.

I'm not sure whether this is the correct place to report such problems. If it is
not, please redirect me. :-)

Thx.

Comment 1 Jeff Johnson 2006-05-29 12:27:12 UTC
The difference is between what policy is configured and what is in xattr's on the file system.

No security context information comes from the rpmdb. In fact, rpm should not be attempting to compare 
information for which no authoritative (what happens to be installed through policy-of-the-day is not 
authoritative) reference copy of policy exists.


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