[ATrpms-users] nvidia 9626 selinux error

Tim Fenn fenn at stanford.edu
Mon Nov 6 10:25:42 CET 2006


I'm having a few problems regarding the nvidia 9626 driver on a FC6
machine.  On my i686 box, I get:

(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.o
dlopen: /usr/lib/xorg/modules/drivers/nvidia_drv.o: cannot restore
segment prot after reloc: Permission denied
(EE) Failed to load /usr/lib/xorg/modules/drivers/nvidia_drv.o

I don't think the nvidia_drv.o is typically covered by the
file_contexts, and indeed the addition of:

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

fixes the problem (as does a simple chcon to textrel_shlib_t).  Is
anyone else observing this?

Also, nvidia-graphics9626 had to be installed manually (it isn't in
the i386 pkglist?), although I wonder if the selinux problem is the
reason?  On my x86_64 machine, it was picked up by smart and installed
fine.  Strangely, the problem mentioned above was not reproducible on
the x86_64 machine (even though nvidia_drv.o is labelled as lib_t).

Oh, I'm using:

nvidia-graphics9626-1.0_9626-79.fc6.at.i386.rpm
nvidia-graphics9626-1.0_9626-79.fc6.at.x86_64.rpm

Axel, let me know if you'd like to move this to atrpms-devel.  If this
is a common/reproducible problem, I'll also bring it up in
fedora-selinux.

Regards,
Tim

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



More information about the atrpms-users mailing list