On Thu, May 9, 2024 at 3:14 PM Tom Horsley <horsley1953@xxxxxxxxx> wrote:
On Thu, 9 May 2024 19:15:20 +0100
Barry Scott wrote:
> All options are configured in the [Journal] section:
Yep, but it is concatenating all the different bits and pieces
it picks up from the journald.conf.d directory, so is the [Journal]
in the default file enough to imply [Journal] for all the pieces
it picks up from the directory? I mean, what if [Journal] means
"Forget everything, we're starting journal options now"? The last
thing you'd want to do is put in a [Journal] line in that case and
forget all the previous settings :-).
[Train of thought like this is what happens when a computer programmer
tries to read an ambiguous manual].
When it comes to configuration using the .d/ directories, I believe it is a "sticky" scheme. The first time the option is set, it becomes sticky and it is not overridden later. That's why applications read .d/ configuration files first (and in a deterministic order, like 10-*.conf before 50-*.conf files), and then fallback to the package's or maintainer's configuration options for missing options.
Jeff
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue