]> Frank Brehm's Git Trees - config/helga/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorroot <root@helga.brehm-online.com>
Sat, 7 Jan 2017 12:22:41 +0000 (13:22 +0100)
committerroot <root@helga.brehm-online.com>
Sat, 7 Jan 2017 12:22:41 +0000 (13:22 +0100)
.etckeeper
audisp/audisp-remote.conf
audisp/plugins.d/syslog.conf
audit/audit-stop.rules [new file with mode: 0644]
audit/auditd.conf

index 2a3d5043fdb49f9a1cb5595fca907262ceba5281..83af319118d9d6e3ee37ba9581c60e849371031a 100755 (executable)
@@ -323,6 +323,7 @@ maybe chmod 0640 'audisp/plugins.d/audispd-zos-remote.conf'
 maybe chmod 0640 'audisp/plugins.d/syslog.conf'
 maybe chmod 0640 'audisp/zos-remote.conf'
 maybe chmod 0755 'audit'
+maybe chmod 0644 'audit/audit-stop.rules'
 maybe chmod 0640 'audit/audit.rules'
 maybe chmod 0640 'audit/audit.rules.stop.post'
 maybe chmod 0640 'audit/audit.rules.stop.pre'
index 70d8a992e40689630da06d636a0c95a7554267da..c7d1562a3c732217cdb8d3f5e30c03a763d61c6d 100644 (file)
@@ -18,11 +18,12 @@ heartbeat_timeout = 0
 
 network_failure_action = stop
 disk_low_action = ignore
-disk_full_action = ignore
-disk_error_action = syslog
+disk_full_action = warn_once
+disk_error_action = warn_once
 remote_ending_action = reconnect
 generic_error_action = syslog
 generic_warning_action = syslog
+queue_error = stop
 overflow_action = syslog
 
 ##enable_krb5 = no
index d603b2f22868ea87374a3a496d4da200c5b97d64..7d7dbd7ea6f54641ca46eb7530b75fc284a4bd7c 100644 (file)
@@ -3,7 +3,8 @@
 # arguments provided can be the default priority that you
 # want the events written with. And optionally, you can give
 # a second argument indicating the facility that you want events
-# logged to. Valid options are LOG_LOCAL0 through 7.
+# logged to. Valid options are LOG_LOCAL0 through 7, LOG_AUTH,
+# LOG_AUTHPRIV, LOG_DAEMON, LOG_SYSLOG, and LOG_USER.
 
 active = no
 direction = out
diff --git a/audit/audit-stop.rules b/audit/audit-stop.rules
new file mode 100644 (file)
index 0000000..7e23cff
--- /dev/null
@@ -0,0 +1,8 @@
+# These rules are loaded when the audit daemon stops
+# if configured to do so.
+
+# Disable auditing
+-e 0
+
+# Delete all rules
+-D
index fdc93f0e21cb6d680b62c74c20db4f29faeda4de..50fbde817ccc258c4ac0fdf617c0f4bc861ec67c 100644 (file)
@@ -2,18 +2,20 @@
 # This file controls the configuration of the audit daemon
 #
 
+local_events = yes
+write_logs = yes
 log_file = /var/log/audit/audit.log
-log_format = RAW
 log_group = root
-priority_boost = 4
-flush = INCREMENTAL
-freq = 20
+log_format = RAW
+flush = INCREMENTAL_ASYNC
+freq = 50
+max_log_file = 8
 num_logs = 5
+priority_boost = 4
 disp_qos = lossy
 dispatcher = /sbin/audispd
 name_format = NONE
 ##name = mydomain
-max_log_file = 6 
 max_log_file_action = ROTATE
 space_left = 75
 space_left_action = SYSLOG
@@ -22,6 +24,7 @@ admin_space_left = 50
 admin_space_left_action = SUSPEND
 disk_full_action = SUSPEND
 disk_error_action = SUSPEND
+use_libwrap = yes
 ##tcp_listen_port = 
 tcp_listen_queue = 5
 tcp_max_per_addr = 1
@@ -30,3 +33,4 @@ tcp_client_max_idle = 0
 enable_krb5 = no
 krb5_principal = auditd
 ##krb5_key_file = /etc/audit/audit.key
+distribute_network = no