Re: ctypes
kang <[email protected]>
| Newsgroups | gmane.linux.rsbac |
|---|---|
| Message-ID | <[email protected]> |
Jens Kasten wrote: > Hi list, > > i try to build a filesystemmonitoring, but i get: > python event-monitoring.py > Traceback (most recent call last): > File "event-monitoring.py", line 24, in ? > from pyinotify import * > File > "/usr/lib/python2.4/site-packages/pyinotify-0.8.1-py2.4.egg/pyinotify.py", line 52, in ? > import ctypes > File "/usr/lib/python2.4/site-packages/ctypes/__init__.py", line 18, > in ? > from _ctypes import Union, Structure, Array > ImportError: /usr/lib/python2.4/site-packages/_ctypes.so: cannot enable > executable stack as shared object requires: Permission denied > > on normal debian it works. > but the webserver has rsbac+pax > > there are no errormessage from pax. > > grüsse > jens > > > _______________________________________________ > rsbac mailing list > [email protected] > http://www.rsbac.org/mailman/listinfo/rsbac This library has probably an incorrect flag. To fix it install the prelink package and run: execstack -c /usr/lib/python2.4/site-packages/_ctypes.so if the library really require an executable stack thats a problem :) but I guess it doesnt, then the above command fixes it. See also for more information: http://www.gentoo.org/proj/en/hardened/gnu-stack.xml kang _______________________________________________ rsbac mailing list [email protected] http://www.rsbac.org/mailman/listinfo/rsbac