]> git.ipfire.org Git - thirdparty/systemd.git/commit
journald: move all config entries from Manager to JournalConfig
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Jul 2025 06:29:22 +0000 (15:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 18 Jul 2025 06:27:35 +0000 (15:27 +0900)
commitf48cf2a96dfdc23fe30ba0f870125fe55cab64c7
tree072d8fec9243b751f96e5982f9902ebf7d0995cb
parent9f819a77911a9adc004276a22597df0584769b91
journald: move all config entries from Manager to JournalConfig

Previously, only config entries controlled by multiple sources were located in
JournalConfig, and still other config entries were in Manager.
That's hard to maintain. Let's move all config entries to JournalConfig.

This also makes JournalConfig.forward_to_kmsg and friends tristate.
Otherwise, even if a higher precedence config source disables the
feature, it may be enabled by a lower precedence config.
12 files changed:
src/journal/journald-audit.c
src/journal/journald-config.c
src/journal/journald-config.h
src/journal/journald-console.c
src/journal/journald-context.c
src/journal/journald-gperf.gperf
src/journal/journald-kmsg.c
src/journal/journald-manager.c
src/journal/journald-manager.h
src/journal/journald-stream.c
src/journal/journald.c
src/journal/test-journald-config.c