Re: nVidia and selinux permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]