2016-06-03, 02:18:46
(2016-06-03, 00:48:57)shawn_a Wrote: You have host error logs
Oppps I had an idiotic moment of course, and guess what? its my good old uncle selinux:
Jun 2 17:16:28 localhost setroubleshoot: SELinux is preventing /usr/sbin/httpd from setattr access on the directory data. For complete SELinux messages. run sealert -l 47c75be1-7159-4c11-9615-331395c0de6b
Jun 2 17:16:28 localhost python: SELinux is preventing /usr/sbin/httpd from setattr access on the directory data.#012#012***** Plugin httpd_write_content (92.2 confidence) suggests ***************#012#012If you want to allow httpd to have setattr access on the data directory#012Then you need to change the label on 'data'#012Do#012# semanage fcontext -a -t httpd_sys_rw_content_t 'data'#012# restorecon -v 'data'#012#012***** Plugin catchall_boolean (7.83 confidence) suggests ******************#012#012If you want to allow httpd to unified#012Then you must tell SELinux about this by enabling the 'httpd_unified' boolean.#012You can read 'None' man page for more details.#012Do#012setsebool -P httpd_unified 1#012#012***** Plugin catchall (1.41 confidence) suggests **************************#012#012If you believe that httpd should be allowed setattr access on the data directory by default.#012Then you should report this as a bug.#012You can generate a local policy module to allow this access.#012Do#012allow this access for now by executing:#012# grep httpd /var/log/audit/audit.log | audit2allow -M mypol#012# semodule -i mypol.pp#012