[sys-process/audit] sync from tree, drop separate audit rule support, i don't care about it enough to keep it working.

This commit is contained in:
2016-07-17 15:20:18 +02:00
parent d55db187e4
commit 8ec6e04dd7
4 changed files with 19 additions and 35 deletions

View File

@@ -21,10 +21,3 @@ RULEFILE_STOP_POST=/etc/audit/audit.rules.stop.post
AUDITD_LANG=C
#AUDITD_LANG=en_US
#AUDITD_LANG=en_US.UTF-8
# This option determines whether or not to call augenrules to compile the
# audit.rule file from /etc/audit/rules.d. The default is "no" so that nothing
# happens to existing rules. When setting this up, any existing rules need to
# be copied into /etc/audit/rules.d or it will be lost when audit.rule gets
# overwritten.
USE_AUGENRULES="no"

View File

@@ -61,9 +61,6 @@ start() {
start_auditd
local ret=$?
if [ $ret -eq 0 -a "${RC_CMD}" != "restart" ]; then
if yesno ${USE_AUGENRULES:-no}; then
test -d /etc/audit/rules.d && /sbin/augenrules
fi
loadfile "${RULEFILE_STARTUP}"
fi
return $ret