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:
Kai Lüke 2020-07-30 19:16:47 +02:00
parent d73b424f61
commit f45f540b65
2 changed files with 1 additions and 0 deletions

View File

@ -7,3 +7,4 @@ d /etc/systemd/system - - - - -
d /etc/systemd/user - - - - - d /etc/systemd/user - - - - -
d /etc/tmpfiles.d - - - - - d /etc/tmpfiles.d - - - - -
d /etc/sysusers.d - - - - - d /etc/sysusers.d - - - - -
d /var/log/journal/remote - systemd-journal-remote systemd-journal-remote - -