]> git.ipfire.org Git - thirdparty/systemd.git/blob - tmpfiles.d/systemd.conf.m4
build-sys: allow references to adm group to be omitted (#3150)
[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 F! /run/utmp 0664 root utmp -
12
13 d /run/systemd/ask-password 0755 root root -
14 d /run/systemd/seats 0755 root root -
15 d /run/systemd/sessions 0755 root root -
16 d /run/systemd/users 0755 root root -
17 d /run/systemd/machines 0755 root root -
18 d /run/systemd/shutdown 0755 root root -
19 m4_ifdef(`ENABLE_NETWORKD',
20 d /run/systemd/netif 0755 systemd-network systemd-network -
21 d /run/systemd/netif/links 0755 systemd-network systemd-network -
22 d /run/systemd/netif/leases 0755 systemd-network systemd-network -
23 )m4_dnl
24
25 d /run/log 0755 root root -
26
27 z /run/log/journal 2755 root systemd-journal - -
28 Z /run/log/journal/%m ~2750 root systemd-journal - -
29 m4_ifdef(`HAVE_ACL',`m4_dnl
30 m4_ifdef(`ENABLE_ADM_GROUP',`m4_dnl
31 m4_ifdef(`ENABLE_WHEEL_GROUP',``
32 a+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
33 A+ /run/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x
34 '',``
35 a+ /run/log/journal/%m - - - - d:group:adm:r-x
36 A+ /run/log/journal/%m - - - - group:adm:r-x
37 '')',`m4_dnl
38 m4_ifdef(`ENABLE_WHEEL_GROUP',``
39 a+ /run/log/journal/%m - - - - d:group:wheel:r-x
40 A+ /run/log/journal/%m - - - - group:wheel:r-x
41 '')')')m4_dnl
42
43 z /var/log/journal 2755 root systemd-journal - -
44 z /var/log/journal/%m 2755 root systemd-journal - -
45 z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
46 m4_ifdef(`HAVE_ACL',`m4_dnl
47 m4_ifdef(`ENABLE_ADM_GROUP',`m4_dnl
48 m4_ifdef(`ENABLE_WHEEL_GROUP',``
49 a+ /var/log/journal - - - - d:group:adm:r-x,d:group:wheel:r-x
50 a+ /var/log/journal - - - - group:adm:r-x,group:wheel:r-x
51 a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
52 a+ /var/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x
53 a+ /var/log/journal/%m/system.journal - - - - group:adm:r--,group:wheel:r--
54 '', ``
55 a+ /var/log/journal - - - - d:group:adm:r-x
56 a+ /var/log/journal - - - - group:adm:r-x
57 a+ /var/log/journal/%m - - - - d:group:adm:r-x
58 a+ /var/log/journal/%m - - - - group:adm:r-x
59 a+ /var/log/journal/%m/system.journal - - - - group:adm:r--
60 '')',`m4_dnl
61 m4_ifdef(`ENABLE_WHEEL_GROUP',``
62 a+ /var/log/journal - - - - d:group:wheel:r-x
63 a+ /var/log/journal - - - - group:wheel:r-x
64 a+ /var/log/journal/%m - - - - d:group:wheel:r-x
65 a+ /var/log/journal/%m - - - - 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