![]() |
[Fedora 12 Beta] opengl applications -> avc: denied execstack
OS : Fedora 12 Beta or Rawhide (20091022)
SElinux : ON Nvidia driver version : 190.42 SELinux is preventing OpenGL applications from making the program stack executable. $glxgears glxgears: error while loading shared libraries: libGL.so.1: cannot enable executable stack as shared object requires: Permission denied Code:
/var/log/audit/audit.logallow_execheap --> off allow_execmem --> off allow_execmod --> off allow_execstack --> off < http://people.redhat.com/drepper/selinux-mem.html > |
Re: [Fedora 12 Beta] opengl applications -> avc: denied execstack
Hm... allow_execstack looks to be defaulted off now.
Just issue "setsebool allow_execstack 1" for now. |
Re: [Fedora 12 Beta] opengl applications -> avc: denied execstack
Quote:
Code:
setsebool -P allow_execstack 1 |
Re: [Fedora 12 Beta] opengl applications -> avc: denied execstack
There is another way to fix this, it's to remove the execution stack requirement.
That can be done using execstack from the prelink package: execstack -c nvidia/libGL.so.190.42 ,others and etc. and for the binaries: execstack -c /usr/bin/nvidia-settings Unfortunately, this last (execstack on binaries ) doesn't work on x86 binaries: Quote:
But then I wonder if we will need to build the exact version of each tool or we can assume nvidia-xconfig 190.42 will work fine with 96.43.14 and 173.14.22 drivers ...? Then there is another question related to: Does patching the nvidia binaries will be a problem ? Nicolas (kwizart) |
| All times are GMT -5. The time now is 02:09 PM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.