Understanding SELinux Errors

Find an article
Jan 23
Published by in ยท Leave your thoughts
( words)
Warning! There was an error loading some of the images for this post.

Recently I’ve been using Centos a lot and SELinux has been somewhat painful to get used to in comparison to other systems, for example Debian. With some determination to not disable SELinux, I eventually found out how to understand why certain functionality was not performing as expected:

Error log file:

/var/log/audit/audit.log

Converting to human readable error messages:

yum install setroubleshoot-server
sealert -a /var/log/audit/audit.log > /var/log/audit/audit_human_readable.log

The new log file should now suggest fixes to resolve SELinux blocking access.

Leave a Reply

Your email address will not be published.