summaryrefslogtreecommitdiff
path: root/sysusers.d
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-07-15 22:31:37 +0900
committerLennart Poettering <lennart@poettering.net>2018-07-16 17:11:50 +0200
commit5b5d82615011b9827466b7cd5756da35627a1608 (patch)
tree292568886b5335d14390c30bc7f310b3097d7b78 /sysusers.d
parent2667385b0e7a39eaf1d09bc16b45c237e11b4644 (diff)
downloadsystemd-5b5d82615011b9827466b7cd5756da35627a1608.tar.gz
sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync
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.
Diffstat (limited to 'sysusers.d')
-rw-r--r--sysusers.d/systemd.conf.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/sysusers.d/systemd.conf.m4 b/sysusers.d/systemd.conf.m4
index 2315b56e3f..ef5a3cb619 100644
--- a/sysusers.d/systemd.conf.m4
+++ b/sysusers.d/systemd.conf.m4
@@ -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