From: Martin Pitt Date: Sun, 28 Dec 2014 11:49:35 +0000 (+0100) Subject: Don't enable audit by default X-Git-Tag: archive/raspbian/247.3-3+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d42841da31652080abcb5d2c513a1543e5145b3b;p=systemd.git Don't enable audit by default It causes flooding of dmesg and syslog, suppressing actually important messages. Don't enable it for now, until a better solution is found: http://lists.freedesktop.org/archives/systemd-devel/2014-December/026591.html Bug-Debian: https://bugs.debian.org/773528 Gbp-Pq: Topic debian Gbp-Pq: Name Don-t-enable-audit-by-default.patch --- diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 2134a1df..a4a42a45 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -417,7 +417,7 @@ systemd-journald collects generated audit records, it just controls whether it tells the kernel to generate them. This means if another tool turns on auditing even if systemd-journald left it off, it will still collect the generated - messages. Defaults to on. + messages. Defaults to off. diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index ce15766a..bd7fa8f5 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -2188,7 +2188,7 @@ int server_init(Server *s, const char *namespace) { .compress.threshold_bytes = (uint64_t) -1, .seal = true, - .set_audit = true, + .set_audit = false, .watchdog_usec = USEC_INFINITY, diff --git a/src/journal/journald.conf b/src/journal/journald.conf index d6cd5b15..5e4b0e2a 100644 --- a/src/journal/journald.conf +++ b/src/journal/journald.conf @@ -41,4 +41,4 @@ #MaxLevelWall=emerg #LineMax=48K #ReadKMsg=yes -#Audit=yes +#Audit=no