summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-02-06 12:09:36 +0100
committerTom Gundersen <teg@jklm.no>2015-02-06 12:12:13 +0100
commit30ae637af31551f6c3d8f27db4537aaddda462bb (patch)
tree4abcfd180aff7e09fc145767debdf85a7501c9ad /units
parentda53c5516e3807145a321df08b853d6f9f21c6fc (diff)
units: networkd - fix busname to work on kdbus
Diffstat (limited to 'units')
-rw-r--r--units/org.freedesktop.network1.busname6
1 files changed, 6 insertions, 0 deletions
diff --git a/units/org.freedesktop.network1.busname b/units/org.freedesktop.network1.busname
index c68f4ade3..3a0e1189a 100644
--- a/units/org.freedesktop.network1.busname
+++ b/units/org.freedesktop.network1.busname
@@ -9,6 +9,12 @@
Description=Network Service Bus Name
Documentation=man:systemd-networkd.service(8)
+# This is pulled in by systemd-networkd.service, since it cannot run
+# without its policy set. However, let's conditionalize this unit on
+# non-kdbus system.
+ConditionPathExists=/sys/fs/kdbus/0-system/
+
[BusName]
Service=systemd-networkd.service
AllowWorld=talk
+AllowUser=systemd-network own