Description of problem: importing vtk in python prompt says this: Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import vtk Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/site-packages/vtk/__init__.py", line 51, in <module> __helper.refine_import_err('rendering', 'vtkRenderingPython', exc) File "/usr/lib/python2.5/site-packages/vtk/__helper.py", line 32, in refine_import_err raise LinkError, str(exc) vtk.__helper.LinkError: /usr/lib/libOSMesa.so.6: cannot restore segment prot after reloc: Permission denied >>> Version-Release number of selected component (if applicable): 5.0.4 How reproducible: import vtk Steps to Reproduce: 1. Start python 2. do "import vtk" Actual results: Shown above Expected results: Shown above Additional info: audit.log type=AVC msg=audit(1228675655.325:714): avc: denied { execmod } for pid=20903 comm="python" path="/usr/lib/libOSMesa.so.6.5.3" dev=sda5 ino=3155594 scontext=unconfined_\ u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file type=SYSCALL msg=audit(1228675655.325:714): arch=40000003 syscall=125 success=no exit=-13 a0=2b0a000 a1=1f6000 a2=5 a3=bfd8f090 items=0 ppid=20892 pid=20903 auid=501 uid=5\ 02 gid=502 euid=502 suid=502 fsuid=502 egid=502 sgid=502 fsgid=502 tty=pts1 ses=58 comm="python" exe="/usr/bin/python" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0\ .c1023 key=(null) In case you want more input, please bug me. Thanks! This one is a blocker for one of my packages which I was packaging. :(
This seems like an issue with how the mesa library is being built. eu-findtextrel reports that /usr/lib/libOSMesa.so.6.5.3 is not being built with -fpic/-fPIC.
hello ajax, may you look at this one. Thanks :)
Fixed in 7.3-6.