From: Zbigniew Jędrzejewski-Szmek Date: Mon, 3 Aug 2020 11:22:01 +0000 (+0200) Subject: man: describe that changing Storage= does not move existing data X-Git-Tag: v247-rc1~453^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f254abcd72b6ca6c4567c245a7dbaf739d02dfc2;p=thirdparty%2Fsystemd.git man: describe that changing Storage= does not move existing data Fixes #16384. --- diff --git a/man/journald.conf.xml b/man/journald.conf.xml index bfd359a903e..d792ef7220f 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -67,12 +67,18 @@ persistent, data will be stored preferably on disk, i.e. below the /var/log/journal hierarchy (which is created if needed), with a fallback to /run/log/journal (which is created if needed), during early boot and if the disk - is not writable. auto is similar to persistent but the - directory /var/log/journal is not created if needed, so that its existence - controls where log data goes. none turns off all storage, all log data received - will be dropped. Forwarding to other targets, such as the console, the kernel log buffer, or a syslog - socket will still work however. Defaults to auto in the default journal namespace, - and persistent in all others. + is not writable. auto behaves like persistent if the + /var/log/journal directory exists, and volatile otherwise + (the existence of the directory controls the storage mode). none turns off all + storage, all log data received will be dropped (but forwarding to other targets, such as the console, + the kernel log buffer, or a syslog socket will still work). Defaults to auto in + the default journal namespace, and persistent in all others. + + Note that when this option is changed to volatile, existing persistent data + is not removed. In the other direction, + journalctl1 with + the option may be used to move volatile data to persistent storage. +