Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-17-10, 06:34 PM   #1
Dominor
Registered User
 
Join Date: Oct 2010
Posts: 1
Default (SELinux) /dev/nvidia and /dev/nvidiactl are labelled incorrectly on Fedora 13

On Fedora Linux 13, whether one installs the nvidia driver through the official installer from nvidia or from the rpms provided by the rpmfusion fedora repository, the devices /dev/nvidia0 and /dev/nvidiactl are incorrectly labelled as system_ubject_r:device_t:s0. Instead, they should be labelled as system_ubject_r:xserver_misc_device_t:s0, as predefined in the installed selinux policy. This causes applications such as boinc based distributed computing projects to be unable to detect the nvidia graphics card and access its CUDA library.
This issue has already been reported by me and other users on rpmfusion and fedora bugzilla and no one seems to know how to create these two devices with the correct label, in order to allow read and write access to them.

Bug reports with more details:
https://bugzilla.redhat.com/show_bug.cgi?id=595092
https://bugzilla.redhat.com/show_bug.cgi?id=596573
https://bugzilla.rpmfusion.org/show_bug.cgi?id=1421
Attached Files
File Type: gz nvidia-bug-report.log.gz (73.0 KB, 41 views)
Dominor is offline   Reply With Quote
Old 11-21-10, 10:07 AM   #2
phil@elrepo
Registered User
 
Join Date: Mar 2010
Location: UK
Posts: 16
Default Re: (SELinux) /dev/nvidia and /dev/nvidiactl are labelled incorrectly on Fedora 13

Creating the following file should solve the issue:

/etc/udev/makedev.d/60-nvidia.nodes

Code:
nvidia0
nvidia1
nvidia2
nvidia3
nvidia4
nvidia5
nvidia6
nvidia7
nvidia8
nvidia9
nvidiactl
and allow the device nodes to be created with the correct SELinux security contexts.
__________________
http://elrepo.org The Community Enterprise Linux Repository
phil@elrepo is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:01 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.