Message ID | 20230727180748.107196-3-akuster808@gmail.com |
---|---|
State | New |
Headers | show |
Series | Selinux failed to enable do to errors. | expand |
diff --git a/recipes-security/audit/audit/auditd b/recipes-security/audit/audit/auditd old mode 100755 new mode 100644 index cda2e43..6aa7f94 --- a/recipes-security/audit/audit/auditd +++ b/recipes-security/audit/audit/auditd @@ -86,7 +86,7 @@ do_reload() { if [ ! -e /var/log/audit ]; then mkdir -p /var/log/audit - [ -x /sbin/restorecon ] && /sbin/restorecon -F /var/log/audit + [ -x /sbin/restorecon ] && /sbin/restorecon -F $(readlink -f /var/log/audit) fi case "$1" in