Skip to content

Instantly share code, notes, and snippets.

@chrcoe
Last active August 29, 2015 14:08
Show Gist options
  • Save chrcoe/82935c40e719bf64079f to your computer and use it in GitHub Desktop.
Save chrcoe/82935c40e719bf64079f to your computer and use it in GitHub Desktop.
Troubleshooting Steps for SELinux
Troubleshooting Steps for SELinux (presented by Carl Miller at OLF 2015: http://carltm.com
This is only a portion of the presentation, all credit goes to Carl, thanks Carl!
$ sudo wc -l < /var/log/audit/audit.log
$ sudo setenforce permissive
run the command(s) that failed
$ sudo setenforce enforcing
$ sudo tail -n +#### /var/log/audit/audit.log > /tmp/audit.log
$ sealert -a /tmp/audit.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment