From c6bb00c1245602324674ae14ce0165d4cee1458f Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 26 Aug 2023 07:28:12 +0200 Subject: [PATCH] bundles/systemd: ensure we're not logging to syslog --- bundles/systemd/files/journald.conf | 5 +++++ bundles/systemd/metadata.py | 3 +++ 2 files changed, 8 insertions(+) diff --git a/bundles/systemd/files/journald.conf b/bundles/systemd/files/journald.conf index a062649..1ccdb9c 100644 --- a/bundles/systemd/files/journald.conf +++ b/bundles/systemd/files/journald.conf @@ -15,5 +15,10 @@ RuntimeKeepFree=${journal.get('keepfree', '2G')} RuntimeMaxFileSize=100M MaxFileSec=1d +ForwardToSyslog=no +ForwardToKMsg=no +ForwardToConsole=no +ForwardToWall=yes + # Disable auditing Audit=no diff --git a/bundles/systemd/metadata.py b/bundles/systemd/metadata.py index 848a8b9..725fc35 100644 --- a/bundles/systemd/metadata.py +++ b/bundles/systemd/metadata.py @@ -7,6 +7,9 @@ defaults = { 'ntp': { 'installed': False, }, + 'rsyslog': { + 'installed': False, + }, }, }, 'icinga2_api': {