]> git.ipfire.org Git - thirdparty/systemd.git/commit
journald: do not allow persistent journal storage in the initrd 39624/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 Nov 2025 16:04:03 +0000 (17:04 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 12 Nov 2025 23:08:31 +0000 (00:08 +0100)
commit2eaceed0b14228ad27b369db0ff3a9c8c45fb13e
tree0e270882d3c658c911f4c212938b411ea0312bb6
parent238bb65c0fd95ee3d6331d27c993b01e2103861b
journald: do not allow persistent journal storage in the initrd

If the user managed to configure persistent storage in the journal
in the initrd, e.g. by creating /var/log/journal with default of 'auto',
we could end up writing entries there. Let's make sure this doesn't
happen.
src/journal/journald-config.c