Update modules/ROOT/pages/_partials/proc_changing-to-enforcing-mode.adoc

Added sealert commands to search audit log, in place of /var/log/messages which may not be available on a default fedora installation.
This commit is contained in:
Luke Rawlins 2020-12-18 20:34:58 +00:00 committed by pbokoc
parent 464744d297
commit 7771e2155d

View file

@ -54,7 +54,7 @@ $ *sudo ausearch -m AVC,USER_AVC,SELINUX_ERR,USER_SELINUX_ERR -ts recent*
Alternatively, with the [package]`setroubleshoot-server` package installed: Alternatively, with the [package]`setroubleshoot-server` package installed:
[subs="quotes"] [subs="quotes"]
---- ----
$ *sudo grep "SELinux is preventing" /var/log/messages* $ *sudo sealert -a /var/log/audit/audit.log*
---- ----
If SELinux denies some actions, see the link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/troubleshooting-problems-related-to-selinux_using-selinux[Troubleshooting problems related to SELinux] chapter in the link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/index[RHEL 8 Using SELinux] document for information about troubleshooting. If SELinux denies some actions, see the link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/troubleshooting-problems-related-to-selinux_using-selinux[Troubleshooting problems related to SELinux] chapter in the link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/index[RHEL 8 Using SELinux] document for information about troubleshooting.
==== ====