nVidia and selinux permission denied

Daniel J Walsh dwalsh at redhat.com
Mon Feb 27 23:12:13 UTC 2006


Alor wrote:
> Is there possibility of using SElinux enforce mode with nvidia driver?
> After successful installing nVidia driver 1.0-8178 when setenforce=1 X
> server not started with error message:
>
> (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
> dlopen: /usr/lib/xorg/modules/extensions/libglx.so: cannot enable
> executable stack as shared object requires: Permission denied
>
> (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
> dlopen: /usr/lib/xorg/modules/drivers/nvidia_drv.so: cannot enable
> executable stack as shared object requires: Permission denied
>
> Thanks for any suggestions!
>
> Best regards,
> Alex Long
>
>
>   
What is the file context on both files?

You could try to set the file context on these files to textrel_shlib_t

chcon -t textrel_shlib_t  /usr/lib/xorg/modules/drivers/nvidia_drv.so 
/usr/lib/xorg/modules/extensions/libglx.so

If that does not work try setting the boolean allow_execstack?

setsebool -P allow_execstack=1




More information about the fedora-test-list mailing list