Bug 187476

Summary: Policy update needed for proprietary nvidia driver
Product: [Fedora] Fedora Reporter: Christian Nolte <ch.nolte>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: dwalsh, fedora, icon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.2.29-2.fc5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-06 12:44:10 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:
Attachments:
Description Flags
Policy update to allow X to load the GLX-lib none

Description Christian Nolte 2006-03-31 09:02:19 UTC
Description of problem:
The current selinux-policies prevent the GLX-library from being loaded by X. The
security-context for the file
/usr/lib/xorg/modules/extensions/nvidia/libglx.so.1.0.8178 must be of type
textrel_shlib_t, not lib_t. The related avc message is

type=AVC msg=audit(1143751976.835:11): avc:  denied  { execmod } for  pid=2476
comm="Xorg" name="libglx.so.1.0.8178" dev=hda1 ino=4361257
scontext=system_u:system_r:xdm_t:s0-s0:c0.c255
tcontext=system_u:object_r:lib_t:s0 tclass=file

Version-Release number of selected component (if applicable):
selinux-policy-2.2.25-2.fc5
selinux-policy-targeted-2.2.25-2.fc

Additional info:
I have attached a patch with an update to the policy needed to load the GLX-lib.

Comment 1 Christian Nolte 2006-03-31 09:02:21 UTC
Created attachment 127114 [details]
Policy update to allow X to load the GLX-lib

Comment 2 Christian Nolte 2006-03-31 09:03:59 UTC
Sorry, I forgot to mention the related dicussion going on in fedora-list:

https://www.redhat.com/archives/fedora-list/2006-March/msg05976.html

and the bug-report in livna's bugzilla:

http://bugzilla.livna.org/show_bug.cgi?id=843

Comment 3 Konstantin Ryabitsev 2006-03-31 19:45:23 UTC
relabeling "chcon -t textrel_shlib_t libglx.so*" seems to have done the trick
for me, but I understand this isn't a universal fix for one reason or another.

selinux-policy-0:2.2.25-3.fc5.noarch

Comment 4 Daniel Walsh 2006-04-03 14:55:49 UTC
Fixed in selinux-policy-2.2.29-2.fc5

Comment 6 Thorsten Leemhuis 2006-08-06 12:44:10 UTC
fixed loing ago afaics