mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
sys-apps/systemd: Add tmpfile directive for /var/log/journal/remote
The folder /var/log/journal/remote used to be part of the inital rootfs through a keepdir directive in the build. However, any paths except /usr are ephemeral and can be deleted at any time and should be recreated with tmpfile directives. When upstream Gentoo removed the line "keepdir /var/log/journal/remote" our tests started to fail but in fact they could have failed earlier if they had tested with Ignition creating a new root filesystem which lacks the /var/log/journal/remote folder. Add a directive to create /var/log/journal/remote at runtime in any case.
This commit is contained in:
parent
d73b424f61
commit
f45f540b65
@ -7,3 +7,4 @@ d /etc/systemd/system - - - - -
|
||||
d /etc/systemd/user - - - - -
|
||||
d /etc/tmpfiles.d - - - - -
|
||||
d /etc/sysusers.d - - - - -
|
||||
d /var/log/journal/remote - systemd-journal-remote systemd-journal-remote - -
|
||||
|
Loading…
x
Reference in New Issue
Block a user