]> git.ipfire.org Git - thirdparty/systemd.git/blob - tmpfiles.d/systemd.conf.m4
Merge pull request #13246 from keszybz/add-SystemdOptions-efi-variable
[thirdparty/systemd.git] / tmpfiles.d / systemd.conf.m4
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
10 d /run/user 0755 root root -
11 m4_ifdef(`ENABLE_UTMP',
12 F! /run/utmp 0664 root utmp -
13 )m4_dnl
14
15 d /run/systemd/ask-password 0755 root root -
16 d /run/systemd/seats 0755 root root -
17 d /run/systemd/sessions 0755 root root -
18 d /run/systemd/users 0755 root root -
19 d /run/systemd/machines 0755 root root -
20 d /run/systemd/shutdown 0755 root root -
21 m4_ifdef(`ENABLE_NETWORKD',
22 d /run/systemd/netif 0755 systemd-network systemd-network -
23 d /run/systemd/netif/links 0755 systemd-network systemd-network -
24 d /run/systemd/netif/leases 0755 systemd-network systemd-network -
25 )m4_dnl
26
27 d /run/log 0755 root root -
28
29 z /run/log/journal 2755 root systemd-journal - -
30 Z /run/log/journal/%m ~2750 root systemd-journal - -
31 m4_ifdef(`HAVE_ACL',`m4_dnl
32 m4_ifdef(`ENABLE_ADM_GROUP',`m4_dnl
33 m4_ifdef(`ENABLE_WHEEL_GROUP',``
34 a+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
35 a+ /run/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x
36 a+ /run/log/journal/%m/*.journal* - - - - group:adm:r--,group:wheel:r--
37 '',``
38 a+ /run/log/journal/%m - - - - d:group:adm:r-x
39 a+ /run/log/journal/%m - - - - group:adm:r-x
40 a+ /run/log/journal/%m/*.journal* - - - - group:adm:r--
41 '')',`m4_dnl
42 m4_ifdef(`ENABLE_WHEEL_GROUP',``
43 a+ /run/log/journal/%m - - - - d:group:wheel:r-x
44 a+ /run/log/journal/%m - - - - group:wheel:r-x
45 a+ /run/log/journal/%m/*.journal* - - - - group:wheel:r--
46 '')')')m4_dnl
47
48 z /var/log/journal 2755 root systemd-journal - -
49 z /var/log/journal/%m 2755 root systemd-journal - -
50 z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
51 m4_ifdef(`HAVE_ACL',`m4_dnl
52 m4_ifdef(`ENABLE_ADM_GROUP',`m4_dnl
53 m4_ifdef(`ENABLE_WHEEL_GROUP',``
54 a+ /var/log/journal - - - - d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x
55 a+ /var/log/journal - - - - group::r-x,group:adm:r-x,group:wheel:r-x
56 a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
57 a+ /var/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x
58 a+ /var/log/journal/%m/system.journal - - - - group:adm:r--,group:wheel:r--
59 '', ``
60 a+ /var/log/journal - - - - d:group::r-x,d:group:adm:r-x
61 a+ /var/log/journal - - - - group::r-x,group:adm:r-x
62 a+ /var/log/journal/%m - - - - d:group:adm:r-x
63 a+ /var/log/journal/%m - - - - group:adm:r-x
64 a+ /var/log/journal/%m/system.journal - - - - group:adm:r--
65 '')',`m4_dnl
66 m4_ifdef(`ENABLE_WHEEL_GROUP',``
67 a+ /var/log/journal - - - - d:group::r-x,d:group:wheel:r-x
68 a+ /var/log/journal - - - - group::r-x,group:wheel:r-x
69 a+ /var/log/journal/%m - - - - d:group:wheel:r-x
70 a+ /var/log/journal/%m - - - - group:wheel:r-x
71 a+ /var/log/journal/%m/system.journal - - - - group:wheel:r--
72 '')')')m4_dnl
73
74 d /var/lib/systemd 0755 root root -
75 d /var/lib/systemd/coredump 0755 root root 3d
76
77 d /var/lib/private 0700 root root -
78 d /var/log/private 0700 root root -
79 d /var/cache/private 0700 root root -