summaryrefslogtreecommitdiff
path: root/units/org.freedesktop.network1.busname
diff options
context:
space:
mode:
Diffstat (limited to 'units/org.freedesktop.network1.busname')
-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 c68f4ade36..3a0e1189ad 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