[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:
@@ -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"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user