Don't enable audit by default
authorMartin Pitt <martin.pitt@ubuntu.com>
Sun, 28 Dec 2014 11:49:35 +0000 (12:49 +0100)
committerMichael Biebl <biebl@debian.org>
Fri, 19 Nov 2021 20:11:45 +0000 (20:11 +0000)
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

man/journald.conf.xml
src/journal/journald-server.c
src/journal/journald.conf

index ed7e4288b362f5234f58285d1c21397ed0da6b31..0abed9cf7df13491fd9e222ef1b87c1ec760f605 100644 (file)
         <command>systemd-journald</command> 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
         <command>systemd-journald</command> left it off, it will still collect the generated
-        messages. Defaults to on.</para></listitem>
+        messages. Defaults to off.</para></listitem>
       </varlistentry>
 
       <varlistentry>
index 2c1c7acc405d15e8e1a1ffc3c81454721bc5d822..8d3b822ed8888885a05c5e19af4212b635048a90 100644 (file)
@@ -2200,7 +2200,7 @@ int server_init(Server *s, const char *namespace) {
                 .compress.threshold_bytes = UINT64_MAX,
                 .seal = true,
 
-                .set_audit = true,
+                .set_audit = false,
 
                 .watchdog_usec = USEC_INFINITY,
 
index 64f4d4bee1560209bd57fc51fa90579256793a81..a690681dd09df4c80fb0bafcafd9664068c73a2a 100644 (file)
@@ -44,4 +44,4 @@
 #MaxLevelWall=emerg
 #LineMax=48K
 #ReadKMsg=yes
-#Audit=yes
+#Audit=no