Bug 122833

Summary: rpm -Uvh complains about /etc/security/selinux/file_contexts
Product: [Fedora] Fedora Reporter: H.J. Lu <hongjiu.lu>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: heiny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-10 13:06:53 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:

Description H.J. Lu 2004-05-08 22:39:36 UTC
When I use

# rpm -Uvh disc3/Fedora/RPMS/postfix-2.0.18-4.x86_64.rpm

I got many

/etc/security/selinux/file_contexts:  invalid context 
root:object_r:staff_home_xauth_t on line number 1853
/etc/security/selinux/file_contexts:  invalid context 
system_u:object_r:default_context_t on line number 1854
/etc/security/selinux/file_contexts:  invalid context 
system_u:object_r:amanda_recover_dir_t on line number 1855
/etc/security/selinux/file_contexts:  invalid context 
system_u:object_r:staff_home_spamassassin_t on line number 1856

Comment 1 Jeff Johnson 2004-07-10 13:06:53 UTC
This is a policy, not an rpm, problem.

Comment 2 Christopher Heiny 2004-07-10 16:36:46 UTC
Well, if it's not an RPM problem, transfer it to whoever is 
responsible for the policy.  Don't mark it as "WONTFIX" just because 
you personally won't fix it.  Grumble.