mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/audit/S02auditd: fix path for default rules
/etc/audit/audit.rules is the path used by augenrules,
/etc/audit/rules.d/ should be used for snippets to be combined into
that file using augenrules.
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit baa05d88cf)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
176c0dd141
commit
64044fdfa5
@@ -28,7 +28,7 @@ start(){
|
||||
status=$?
|
||||
if [ "${status}" -eq 0 ]; then
|
||||
# Load the default rules
|
||||
test -f /etc/audit/rules.d/audit.rules && /usr/sbin/auditctl -R /etc/audit/rules.d/audit.rules >/dev/null
|
||||
test -f /etc/audit/audit.rules && /usr/sbin/auditctl -R /etc/audit/audit.rules >/dev/null
|
||||
echo "OK"
|
||||
else
|
||||
echo "FAIL"
|
||||
|
||||
Reference in New Issue
Block a user