Bug 467217

Summary: /etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/lib(64)?/xorg/libGL\.so(\.[^/]*)*.
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, jkubin, jturner, mgrepl, orion, wwoods
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: 2008-10-16 19:20:44 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: 466514, 467276    

Description James Laska 2008-10-16 12:55:01 UTC
Description of problem:

Typo in /etc/selinux/targeted/contexts/files/file_contexts results in a *lot* of the following during boot:

/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/lib(64)?/xorg/libGL\.so(\.[^/]*)*.


Version-Release number of selected component (if applicable):
selinux-policy-3.5.12-2.fc10

How reproducible:
100%

Actual results:
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/lib(64)?/xorg/libGL\.so(\.[^/]*)*.


Expected results:
No failure messages from policy


Additional info:

--- /tmp/policy.orig	2008-10-16 08:53:32.000000000 -0400
+++ /etc/selinux/targeted/contexts/files/file_contexts	2008-10-16 08:53:33.000000000 -0400
@@ -308,7 +308,6 @@
 /usr/lib(64)?/helix/plugins/[^/]*\.so	--	system_u:object_r:textrel_shlib_t:s0
 /usr/lib(64)?/xorg/modules/dri/.+\.so	--	system_u:object_r:textrel_shlib_t:s0
 /usr/lib(64)?/xorg/libGL\.so(\.[^/]*)*	--	system_u:object_r:textrel_shlib_t:s0
-/usr/lib(64)?/xorg/libGL\.so(\.[^/]*)*	--	system_u:object_r:textrel_shlib_t:s0
 /usr/lib(64)?/courier/rootcerts(/.*)?	system_u:object_r:courier_etc_t:s0
 /usr/lib(64)?/libavutil.*\.so(\.[^/]*)*	--	system_u:object_r:textrel_shlib_t:s0
 /usr/lib(64)?/fglrx/libGL\.so(\.[^/]*)*	--	system_u:object_r:textrel_shlib_t:s0

Comment 1 Will Woods 2008-10-16 18:34:19 UTC
This prevents us from creating users; see bug 467276

Comment 2 Daniel Walsh 2008-10-16 19:20:44 UTC
Fixed in selinux-policy-3.5.12-3.fc10.noarch