libffi creating /tmp files (+rwx)
Posted: Tue Dec 27, 2011 9:06 am
Hello,
I'm trying to get mod_wsgi, Python and apache to work together for a system with a django application. Apparently libffi is causing these:
The ffi parameter seems to have something to do with libffi from CPython. The wsgi apache process crashes, which might or might not be related to this. What would be the best course of action here? RWX for the /tmp directory is clearly no good.
This is a Gentoo Hardened system.
I'm trying to get mod_wsgi, Python and apache to work together for a system with a django application. Apparently libffi is causing these:
- Code: Select all
...U:/usr/sbin/apache2) denied untrusted exec of /var/tmp/ffiCERLME by /usr/sbin/apache2[apache2:22643] uid/euid:1009/1009 gid/egid:1028/1028, parent /usr/sbin/apache2[apache2:20010] uid/euid:0/0 gid/egid:0/0
The ffi parameter seems to have something to do with libffi from CPython. The wsgi apache process crashes, which might or might not be related to this. What would be the best course of action here? RWX for the /tmp directory is clearly no good.
This is a Gentoo Hardened system.