From fc709443016b0da2da97809828a45ba000f358df Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 26 Sep 2022 16:13:20 +0200 Subject: [PATCH] man: document that setting Storage= in namespaces journald menas LogDirectory= in unit file needs setting too Replaces: #24789 --- man/journald.conf.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 4b0dd90cbb..a14abad32d 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -87,6 +87,14 @@ is not removed. In the other direction, journalctl1 with the option may be used to move volatile data to persistent storage. + + When journal namespacing (see LogNamespace= in + systemd.exec5) is + used, setting Storage= to volatile or auto + will not have an effect on the creation of the per-namespace logs directory in + /var/log/journal/, as the systemd-journald@.service service + file by default carries LogsDirectory=. To turn that off, add a unit file drop-in + file that sets LogsDirectory= to an empty string. -- 2.25.1