selinux not writing any log files
Posted on 2013-06-19
We're running redhat and selinux. We have enforcing turned on. For some strange reason nothing is getting written to any of my http log files and more disconcerting is that nothing is getting written to the /var/log/audit log files so I could figure out what is going on.
Here are the file contexts:
drwxr-x---. root root system_u:object_r:auditd_log_t:s0 /var/log/audit
drwxrwx---. webadmin apache unconfined_u:object_r:httpd_log_t:s0 /webdocs/domain/logs
I've run restorecon on the audit folder and that didn't seem to do anything.
If we setenforce to 0, we still don't get any log files (audit and httpd) written. We have about 20 different domains on the go so it's unlikely that we've messed up every single one of them. Also I know that the individual log file directories are correct because if I delete one of them and then restart the web server it fails because it can't find the directory.
Not sure where to go next with this