]> git.ipfire.org Git - thirdparty/systemd.git/blob - tmpfiles.d/systemd.conf.m4
dlfcn-util: add dlsym_many_and_warn() helper
[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 d /run/systemd/netif/lldp 0755 systemd-network systemd-network -
26 )m4_dnl
27
28 d /run/log 0755 root root -
29
30 z /run/log/journal 2755 root systemd-journal - -
31 Z /run/log/journal/%m ~2750 root systemd-journal - -
32 m4_ifdef(`HAVE_ACL',`m4_dnl
33 m4_ifdef(`ENABLE_ADM_GROUP',`m4_dnl
34 m4_ifdef(`ENABLE_WHEEL_GROUP',``
35 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
36 a+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x
37 a+ /run/log/journal/%m/*.journal* - - - - group:adm:r--,group:wheel:r--
38 '',``
39 a+ /run/log/journal - - - - d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x
40 a+ /run/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-x
41 a+ /run/log/journal/%m/*.journal* - - - - group:adm:r--
42 '')',`m4_dnl
43 m4_ifdef(`ENABLE_WHEEL_GROUP',``
44 a+ /run/log/journal - - - - d:group::r-x,d:group:wheel:r-x,group::r-x,group:wheel:r-x
45 a+ /run/log/journal/%m - - - - d:group:wheel:r-x,group:wheel:r-x
46 a+ /run/log/journal/%m/*.journal* - - - - group:wheel:r--
47 '')')')m4_dnl
48
49 z /var/log/journal 2755 root systemd-journal - -
50 z /var/log/journal/%m 2755 root systemd-journal - -
51 z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
52 m4_ifdef(`HAVE_ACL',`m4_dnl
53 m4_ifdef(`ENABLE_ADM_GROUP',`m4_dnl
54 m4_ifdef(`ENABLE_WHEEL_GROUP',``
55 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
56 a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x
57 a+ /var/log/journal/%m/system.journal - - - - group:adm:r--,group:wheel:r--
58 '', ``
59 a+ /var/log/journal - - - - d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x
60 a+ /var/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-x
61 a+ /var/log/journal/%m/system.journal - - - - group:adm:r--
62 '')',`m4_dnl
63 m4_ifdef(`ENABLE_WHEEL_GROUP',``
64 a+ /var/log/journal - - - - d:group::r-x,d:group:wheel:r-x,group::r-x,group:wheel:r-x
65 a+ /var/log/journal/%m - - - - d:group:wheel:r-x,group:wheel:r-x
66 a+ /var/log/journal/%m/system.journal - - - - group:wheel:r--
67 '')')')m4_dnl
68
69 d /var/lib/systemd 0755 root root -
70 d /var/lib/systemd/coredump 0755 root root 3d
71
72 d /var/lib/private 0700 root root -
73 d /var/log/private 0700 root root -
74 d /var/cache/private 0700 root root -