[ATrpms-users] nvidia 9626 selinux error

Tim Fenn fenn at stanford.edu
Wed Nov 15 20:15:47 CET 2006


On Tue, Nov 14, 2006 at 09:16:29AM -0700, Wayne Vosberg wrote:
> what fixed this for me was "setsebool -P allow_execmod on"
> 

I think the standard solution is to avoid allowing execmod, and
instead do something like mentioned here:

http://lists.atrpms.net/pipermail/atrpms-users/2006-November/006244.html

in short, add:

/usr/lib(64)?/xorg/modules/drivers/nvidia-.*_drv\.o	--	system_u:object_r:textrel_shlib_t:s0

to /etc/selinux/targeted/contexts/files/file_contexts

and run:

restorecon -vv /usr/lib(64)/xorg/modules/drivers/nvidia*

or, alternatively, use:

chcon -t textrel_shlib_t /usr/lib(64)/xorg/modules/drivers/nvidia*

I'll bring this up on fedora-selinux, and hopefully have it added to
the selinux policy.

-Tim

-- 
Morals?  I eat communism and $h!t America, brother.  --Seanbaby



More information about the atrpms-users mailing list