From 7771e2155d7ec3794b027184211dd9588f7827f4 Mon Sep 17 00:00:00 2001 From: Luke Rawlins Date: Fri, 18 Dec 2020 20:34:58 +0000 Subject: [PATCH] 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. --- .../ROOT/pages/_partials/proc_changing-to-enforcing-mode.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/_partials/proc_changing-to-enforcing-mode.adoc b/modules/ROOT/pages/_partials/proc_changing-to-enforcing-mode.adoc index e64994e..c5a0e01 100644 --- a/modules/ROOT/pages/_partials/proc_changing-to-enforcing-mode.adoc +++ b/modules/ROOT/pages/_partials/proc_changing-to-enforcing-mode.adoc @@ -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: [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. ====