From 6bc4361997b15e9e5fe2efd9bb8640c24ce6c072 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 27 Nov 2019 21:38:07 +0100 Subject: [PATCH] man: document journald@NAMESPACE.conf --- man/journald.conf.xml | 50 +++++++++++++++++++++---------------------- man/rules/meson.build | 2 +- 2 files changed, 25 insertions(+), 27 deletions(-) diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 824db668c5..afbbe64bb8 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -18,6 +18,7 @@ journald.conf journald.conf.d + journald@.conf Journal service configuration files @@ -26,6 +27,7 @@ /etc/systemd/journald.conf.d/*.conf /run/systemd/journald.conf.d/*.conf /usr/lib/systemd/journald.conf.d/*.conf + /etc/systemd/journald@NAMESPACE.conf @@ -37,6 +39,12 @@ systemd.syntax5 for a general description of the syntax. + The systemd-journald instance managing the default namespace is configured by + /etc/systemd/journald.conf and associated drop-ins. Instances managing other + namespaces read /etc/systemd/journald@NAMESPACE.conf with + the namespace identifier filled in. This allows each namespace to carry a distinct configuration. See + systemd-journald.service8 + for details about journal namespaces. @@ -52,29 +60,19 @@ Storage= - Controls where to store journal data. One of - volatile, - persistent, - auto and - none. If - volatile, journal - log data will be stored only in memory, i.e. below the - /run/log/journal hierarchy (which is - created if needed). If 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. + Controls where to store journal data. One of volatile, + persistent, auto and none. If + volatile, journal log data will be stored only in memory, i.e. below the + /run/log/journal hierarchy (which is created if needed). If + 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. @@ -399,9 +397,9 @@ ReadKMsg= - Takes a boolean value. If enabled (the - default), journal reads /dev/kmsg - messages generated by the kernel. + Takes a boolean value. If enabled systemd-journal processes + /dev/kmsg messages generated by the kernel. In the default journal namespace + this option is enabled by default, it is disabled in all others. diff --git a/man/rules/meson.build b/man/rules/meson.build index f4b161661a..5cff8ae320 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -24,7 +24,7 @@ manpages = [ ['journal-remote.conf', '5', ['journal-remote.conf.d'], 'HAVE_MICROHTTPD'], ['journal-upload.conf', '5', ['journal-upload.conf.d'], 'HAVE_MICROHTTPD'], ['journalctl', '1', [], ''], - ['journald.conf', '5', ['journald.conf.d'], ''], + ['journald.conf', '5', ['journald.conf.d', 'journald@.conf'], ''], ['kernel-command-line', '7', [], ''], ['kernel-install', '8', [], ''], ['libudev', '3', [], ''],