I recently had a request with an Apache2 problem. The website didn’t display the images on the page.
After looking at the logs, the error appeared in the /var/log/audit/audit.log.
When you kick off a request with the web browser, you see 5 – 6 error appear about permissions.
So fix this, its easy, running the following command while its running refresh your browser.
1 |
tail /var/log/audit/audit.log | audit2allow -M test |
This tool will find the error and create a white list and store it as “test”
To implement the fix execute the following command.
1 |
semodule -i test.pp |
Once completed you will have access to your files.