In a recent installation of RHEL5.2, SELinux is blocking Webalizer from writing stats to /var/www/html/sitename/stats. What is the best way to remedy this issue short of disabling SELinux? This is a default installation, very little customization at this point. Thank you in advance for your assistance. -Beau
Fixed the problem After a little reading and experimenting, I was able to fix the problem using audit2allow. To understand this process as it applies to REHL5.2, read http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/sec-sel-load-policy-package.html First, I piped the SELinux alert message into audit2allow and used the switches as suggested by Red Hat: echo "insert alert message here" | audit2allow -M newpolicy In order to load this newly created local SELinux policy package (.pp) into the kernel, I ran this command: semodule -i newpolicy.pp Next I tested the Webalizer cron jobs and all worked as expected. I also read an interesting, but dated, article on SysAdmin's Web site that inspired me: http://www.samag.com/documents/s=9820/sam0508a/0508a.htm -Beau