From ab7ec1f269db73d95cb69cea7795e114e3c54501 Mon Sep 17 00:00:00 2001 From: Mackemania <8738793+Mackemania@users.noreply.github.com> Date: Mon, 3 Jul 2023 15:40:52 +0200 Subject: [PATCH] Remove quotes from journald config parameters The quotes may lead to unexpected behaviour such as config not being applied. The default journald config does not use quotes around the parameter values. --- .../guide/system/logging/journald/journald_compress/rule.yml | 1 + .../system/logging/journald/journald_forward_to_syslog/rule.yml | 1 + linux_os/guide/system/logging/journald/journald_storage/rule.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/linux_os/guide/system/logging/journald/journald_compress/rule.yml b/linux_os/guide/system/logging/journald/journald_compress/rule.yml index fdcf5f7e2bc..f84fbac92a3 100644 --- a/linux_os/guide/system/logging/journald/journald_compress/rule.yml +++ b/linux_os/guide/system/logging/journald/journald_compress/rule.yml @@ -50,3 +50,4 @@ template: path: /etc/systemd/journald.conf parameter: Compress value: yes + no_quotes: 'true' diff --git a/linux_os/guide/system/logging/journald/journald_forward_to_syslog/rule.yml b/linux_os/guide/system/logging/journald/journald_forward_to_syslog/rule.yml index 48aec1a01df..669abbe0520 100644 --- a/linux_os/guide/system/logging/journald/journald_forward_to_syslog/rule.yml +++ b/linux_os/guide/system/logging/journald/journald_forward_to_syslog/rule.yml @@ -50,3 +50,4 @@ template: path: /etc/systemd/journald.conf parameter: ForwardToSyslog value: yes + no_quotes: 'true' diff --git a/linux_os/guide/system/logging/journald/journald_storage/rule.yml b/linux_os/guide/system/logging/journald/journald_storage/rule.yml index 2d7a1934131..ce568a1db96 100644 --- a/linux_os/guide/system/logging/journald/journald_storage/rule.yml +++ b/linux_os/guide/system/logging/journald/journald_storage/rule.yml @@ -49,3 +49,4 @@ template: path: /etc/systemd/journald.conf parameter: Storage value: persistent + no_quotes: 'true'