Bug 187476 - Policy update needed for proprietary nvidia driver
Summary: Policy update needed for proprietary nvidia driver
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-31 09:02 UTC by Christian Nolte
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: 2.2.29-2.fc5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-06 12:44:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Policy update to allow X to load the GLX-lib (815 bytes, patch)
2006-03-31 09:02 UTC, Christian Nolte
no flags Details | Diff

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


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