Nvidia and selinux

Lonni J Friedman netllama at gmail.com
Sat Jun 16 23:06:57 UTC 2007


See:
http://www.nvnews.net/vbulletin/showthread.php?t=72490
http://www.nvnews.net/vbulletin/showthread.php?t=46678

On 6/16/07, Mark Eggers <mdeggers at earthlink.net> wrote:
> I've actually had three issues when running NVidia's drivers on Fefora 7.
>
> 1. Modules cannot be found.
> As noted in other mail messages, the following addition to the xorg.conf file will fix this:
>
> Section "Files"
>         ModulePath   "/usr/lib/xorg/modules"
>         ModulePath   "/usr/X11R6/lib/modules"
> EndSection
>
> The ModulePath lines appear to get deleted every time there is an Xorg update.  I have placed my xorg.conf under RCS and just restore it from there (after checking for other changes with rcsdiff).
>
> 2. Running SELinux in permissive mode generates the following warning for nvidia_drv.so:
>
> requires text relocation (in part)
>
> According the the rest of the alert, this can be fixed by:
>
> chcon -t textrel_shlib_t /usr/X11R6/lib/modules/drivers/nvidia_drv.so
>
> This should probably be reported to NVidia (if not already done so).
>
> 3. Running SELinux in permissive mode also generates the following warning during installation.
>
> SELinux is preventing /sbin/ldconfig (ldconfig_t) "write" to /var/log/nvidia-installer.log (var_log_t).
>
> The fix is:
>
> restorecon /var/log/nvidia-installer.log
>
> This is probably a bug in the installation scripts and should be reported to NVidia as well.
>
> Again, I'm running permissive and targeted, so there may be additional issues if you're running enforcing and strict.
>
> -----Original Message-----
> > Since today's update, i can't run nvidia drivers without adding selinux=0 to the
> > kernel parameters. Without this the x server don't start :
>




More information about the fedora-list mailing list