From: Lennart Poettering Date: Mon, 26 Sep 2022 14:13:20 +0000 (+0200) Subject: man: document that setting Storage= in namespaces journald menas LogDirectory= in... X-Git-Tag: v252-rc1~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc709443016b0da2da97809828a45ba000f358df;p=thirdparty%2Fsystemd.git man: document that setting Storage= in namespaces journald menas LogDirectory= in unit file needs setting too Replaces: #24789 --- diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 4b0dd90cbbd..a14abad32df 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.