Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 118618

Summary: policy rpm gives wrong context to /etc/security/default_contexts
Product: [Fedora] Fedora Reporter: Stephen Tweedie <sct>
Component: policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pgraner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-10 14:57:06 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:
Bug Depends On:    
Bug Blocks: 122683    

Description Stephen Tweedie 2004-03-18 12:56:09 UTC
Description of problem:
Installing the policy and policy-sources rpms gives the wrong context
to /etc/security/default_contexts.

Version-Release number of selected component (if applicable):
policy-1.9-1
policy-sources-1.9-1

How reproducible:
100%

Steps to Reproduce:
with policy-1.9-1 already installed, do:
# rpm -Uvh --force policy-1.9-1.noarch.rpm policy-sources-1.9-1.noarch.rpm
# ls -lZ /etc/security/default_contexts
-rw-r--r--+ root root root:object_r:etc_t /etc/security/default_contexts
# restorecon /etc/security/default_contexts
# ls -lZ /etc/security/default_contexts
-rw-r--r--+ root root system_u:object_r:default_context_t
/etc/security/default_contexts

Comment 1 Daniel Walsh 2004-03-25 05:19:54 UTC
Fixed in policy-1.9-15