2010-09-28 22:32:53 +02:00
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
2012-04-12 00:20:58 +02:00
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
2010-09-28 22:32:53 +02:00
# (at your option) any later version.
2024-11-21 10:25:38 +01:00
# See tmpfiles.d(5) for details.
2010-11-10 23:58:01 +01:00
2014-06-30 19:06:18 +02:00
d /run/user 0755 root root -
2021-05-16 13:35:51 +02:00
{% if ENABLE_UTMP %}
2024-02-27 14:21:33 +01:00
f+! /run/utmp 0664 root utmp -
2021-05-16 13:35:51 +02:00
{% endif %}
2011-04-01 00:43:28 +02:00
2011-04-10 01:30:14 +02:00
d /run/systemd/ask-password 0755 root root -
2024-09-13 17:24:20 +02:00
d$ /run/systemd/seats 0755 root root -
d$ /run/systemd/sessions 0755 root root -
d$ /run/systemd/users 0755 root root -
2013-07-02 03:47:23 +02:00
d /run/systemd/machines 0755 root root -
2024-09-13 17:24:20 +02:00
d$ /run/systemd/shutdown 0755 root root -
2012-06-25 17:35:13 +02:00
2014-06-30 19:53:10 +02:00
d /run/log 0755 root root -
2014-06-10 23:42:16 +02:00
z /run/log/journal 2755 root systemd-journal - -
2014-06-11 10:23:16 +02:00
Z /run/log/journal/%m ~2750 root systemd-journal - -
2021-05-16 13:35:51 +02:00
{% if HAVE_ACL %}
{% if ENABLE_ADM_GROUP and ENABLE_WHEEL_GROUP %}
2019-11-27 19:15:11 +01:00
a+ /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
2024-03-05 17:16:49 +08:00
A+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-X,group:wheel:r-X
2021-05-16 13:35:51 +02:00
{% elif ENABLE_ADM_GROUP %}
2019-11-27 19:15:11 +01:00
a+ /run/log/journal - - - - d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x
2024-03-05 17:16:49 +08:00
A+ /run/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-X
2021-05-16 13:35:51 +02:00
{% elif ENABLE_WHEEL_GROUP %}
2019-11-27 19:15:11 +01:00
a+ /run/log/journal - - - - d:group::r-x,d:group:wheel:r-x,group::r-x,group:wheel:r-x
2024-03-05 17:16:49 +08:00
A+ /run/log/journal/%m - - - - d:group:wheel:r-x,group:wheel:r-X
2021-05-16 13:35:51 +02:00
{% endif %}
{% endif %}
2014-06-11 10:23:16 +02:00
z /var/log/journal 2755 root systemd-journal - -
z /var/log/journal/%m 2755 root systemd-journal - -
2015-11-29 18:48:40 -05:00
z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
2021-05-16 13:35:51 +02:00
{% if HAVE_ACL %}
{% if ENABLE_ADM_GROUP and ENABLE_WHEEL_GROUP %}
2019-11-27 19:13:34 +01:00
a+ /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
a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x
2015-11-29 18:48:40 -05:00
a+ /var/log/journal/%m/system.journal - - - - group:adm:r--,group:wheel:r--
2021-05-16 13:35:51 +02:00
{% elif ENABLE_ADM_GROUP %}
2019-11-27 19:13:34 +01:00
a+ /var/log/journal - - - - d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x
a+ /var/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-x
2016-02-15 11:08:26 -05:00
a+ /var/log/journal/%m/system.journal - - - - group:adm:r--
2021-05-16 13:35:51 +02:00
{% elif ENABLE_WHEEL_GROUP %}
2019-11-27 19:13:34 +01:00
a+ /var/log/journal - - - - d:group::r-x,d:group:wheel:r-x,group::r-x,group:wheel:r-x
a+ /var/log/journal/%m - - - - d:group:wheel:r-x,group:wheel:r-x
2016-05-01 06:02:17 +02:00
a+ /var/log/journal/%m/system.journal - - - - group:wheel:r--
2021-05-16 13:35:51 +02:00
{% endif %}
{% endif %}
2014-06-18 22:06:25 +02:00
d /var/lib/systemd 0755 root root -
2023-12-05 15:56:54 +01:00
d /var/lib/systemd/coredump 0755 root root 2w
2023-06-06 17:44:09 +02:00
# Files and directories in /var/lib/systemd/ephemeral-trees are locked by pid 1 to prevent tmpfiles from
# removing them, and tmpfiles is told to clean up anything in /var/lib/systemd/ephemeral-trees that isn't
# locked unconditionally.
d /var/lib/systemd/ephemeral-trees 0755 root root 0
2018-05-17 19:52:37 +02:00
d /var/lib/private 0700 root root -
d /var/log/private 0700 root root -
d /var/cache/private 0700 root root -