I am using the mySQLdb module in my django application, which is connected to Apache through WSGI. However, I get permissions (see below). It depends on SElinux, and if I set it to passive, everything will be fine.
Incorrect Configured: Error loading MySQLdb module: / opt / django / virtenv / django 15 / lib / python2.7 / site-packages / _mysql.so: could not display a segment from a shared object: Permission denied
What is the best way to update SELinux to enable this without disabling the whole thing. The error is shown below:
Incorrect Configured: Error loading MySQLdb module: / opt / django / virtenv / django 1 / lib / python2.7 / site-packages / _mysql.so: cfailed to display a segment from a shared object: Permission denied
source share