From: Tom Gundersen Date: Fri, 6 Feb 2015 11:09:36 +0000 (+0100) Subject: units: networkd - fix busname to work on kdbus X-Git-Tag: v219~126 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=30ae637af31551f6c3d8f27db4537aaddda462bb;ds=sidebyside units: networkd - fix busname to work on kdbus --- 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