]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 15 Jul 2018 13:31:37 +0000 (22:31 +0900)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Jul 2018 15:11:50 +0000 (17:11 +0200)
This partially reverts d4e9e574ea0b5d23598a317e68399584d229568b,
0187368cadea183e18c6d575a9d6b7f491a402af, and
4240cb02fda90ba11dfc0114201e42691132c6a9.
The services systemd-networkd, systemd-resolved, and systemd-timesyncd
enable DynamicUsers= and have bus interfaces. Unfortunately, these
has many problems now. Let us create the relevant users, at least,
tentatively.

Fixes #9503.

sysusers.d/systemd.conf.m4
tmpfiles.d/systemd.conf.m4

index 2315b56e3fcfcfbf0d914a585fedfd55b93f1e20..ef5a3cb6198ca0f6ba2866085ceb8e751060da92 100644 (file)
@@ -6,6 +6,15 @@
 #  (at your option) any later version.
 
 g systemd-journal   - -
+m4_ifdef(`ENABLE_NETWORKD',
+u systemd-network   - "systemd Network Management"
+)m4_dnl
+m4_ifdef(`ENABLE_RESOLVE',
+u systemd-resolve   - "systemd Resolver"
+)m4_dnl
+m4_ifdef(`ENABLE_TIMESYNCD',
+u systemd-timesync  - "systemd Time Synchronization"
+)m4_dnl
 m4_ifdef(`ENABLE_COREDUMP',
 u systemd-coredump  - "systemd Core Dumper"
 )m4_dnl
index 120e42a1b94648001e3bf73088b3e35c5432332d..d39c9cbbcf4aab47d379b674bcd14f523176a606 100644 (file)
@@ -17,9 +17,9 @@ d /run/systemd/users 0755 root root -
 d /run/systemd/machines 0755 root root -
 d /run/systemd/shutdown 0755 root root -
 m4_ifdef(`ENABLE_NETWORKD',
-d /run/systemd/netif 0755 - - -
-d /run/systemd/netif/links 0755 - - -
-d /run/systemd/netif/leases 0755 - - -
+d /run/systemd/netif 0755 systemd-network systemd-network -
+d /run/systemd/netif/links 0755 systemd-network systemd-network -
+d /run/systemd/netif/leases 0755 systemd-network systemd-network -
 )m4_dnl
 
 d /run/log 0755 root root -