From: Lennart Poettering Date: Wed, 7 Jun 2023 14:23:45 +0000 (+0200) Subject: man: document that journalctl --user requires Storage=persistent X-Git-Tag: v254-rc1~253^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cad8fa471b9133f38fbd6ddb6ee143f361525e5d;p=thirdparty%2Fsystemd.git man: document that journalctl --user requires Storage=persistent Fixes: #25061 --- diff --git a/man/journalctl.xml b/man/journalctl.xml index 683cb612498..969bcaec016 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -119,7 +119,11 @@ The option affects how arguments are - treated. See . + treated. See . + + Note that only works if persistent logging is enabled, via the + Storage= setting in + journald.conf5. diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 50c33e47929..2642872407a 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -95,6 +95,9 @@ /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. + + Note that per-user journal files are not supported unless persistent storage is enabled, thus + making journalctl --user unavailable.