1#  This file is part of systemd.
2#
3#  systemd is free software; you can redistribute it and/or modify it
4#  under the terms of the GNU Lesser General Public License as published by
5#  the Free Software Foundation; either version 2.1 of the License, or
6#  (at your option) any later version.
7
8# See tmpfiles.d(5) for details
9
10d /run/user 0755 root root -
11{% if ENABLE_UTMP %}
12F! /run/utmp 0664 root utmp -
13{% endif %}
14
15d /run/systemd/ask-password 0755 root root -
16d /run/systemd/seats 0755 root root -
17d /run/systemd/sessions 0755 root root -
18d /run/systemd/users 0755 root root -
19d /run/systemd/machines 0755 root root -
20d /run/systemd/shutdown 0755 root root -
21
22d /run/log 0755 root root -
23
24z /run/log/journal 2755 root systemd-journal - -
25Z /run/log/journal/%m ~2750 root systemd-journal - -
26{% if HAVE_ACL %}
27{% if ENABLE_ADM_GROUP and ENABLE_WHEEL_GROUP %}
28a+ /run/log/journal    - - - - d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x,group::r-x,group:adm:r-x,group:wheel:r-x
29a+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x
30a+ /run/log/journal/%m/*.journal* - - - - group:adm:r--,group:wheel:r--
31{% elif ENABLE_ADM_GROUP %}
32a+ /run/log/journal    - - - - d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x
33a+ /run/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-x
34a+ /run/log/journal/%m/*.journal* - - - - group:adm:r--
35{% elif ENABLE_WHEEL_GROUP %}
36a+ /run/log/journal    - - - - d:group::r-x,d:group:wheel:r-x,group::r-x,group:wheel:r-x
37a+ /run/log/journal/%m - - - - d:group:wheel:r-x,group:wheel:r-x
38a+ /run/log/journal/%m/*.journal* - - - - group:wheel:r--
39{% endif %}
40{% endif %}
41
42z /var/log/journal 2755 root systemd-journal - -
43z /var/log/journal/%m 2755 root systemd-journal - -
44z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
45{% if HAVE_ACL %}
46{% if ENABLE_ADM_GROUP and ENABLE_WHEEL_GROUP %}
47a+ /var/log/journal    - - - - d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x,group::r-x,group:adm:r-x,group:wheel:r-x
48a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x
49a+ /var/log/journal/%m/system.journal - - - - group:adm:r--,group:wheel:r--
50{% elif ENABLE_ADM_GROUP %}
51a+ /var/log/journal    - - - - d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x
52a+ /var/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-x
53a+ /var/log/journal/%m/system.journal - - - - group:adm:r--
54{% elif ENABLE_WHEEL_GROUP %}
55a+ /var/log/journal    - - - - d:group::r-x,d:group:wheel:r-x,group::r-x,group:wheel:r-x
56a+ /var/log/journal/%m - - - - d:group:wheel:r-x,group:wheel:r-x
57a+ /var/log/journal/%m/system.journal - - - - group:wheel:r--
58{% endif %}
59{% endif %}
60
61d /var/lib/systemd 0755 root root -
62d /var/lib/systemd/coredump 0755 root root 3d
63
64d /var/lib/private 0700 root root -
65d /var/log/private 0700 root root -
66d /var/cache/private 0700 root root -
67