summaryrefslogtreecommitdiffstats
path: root/units/systemd-networkd.socket
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-02-13 14:30:05 +0100
committerLennart Poettering <lennart@poettering.net>2015-02-13 14:30:05 +0100
commit93391a8badc671f7d1a163b4b338bc030c390cb7 (patch)
tree49be87c65e05b3e7c001b76ae8dd83d408c113d7 /units/systemd-networkd.socket
parenthwdb: update name databases (diff)
downloadsystemd-93391a8badc671f7d1a163b4b338bc030c390cb7.tar.xz
systemd-93391a8badc671f7d1a163b4b338bc030c390cb7.zip
units: fix systemd-networkd.service in containers lacking CAP_NET_ADMIN
Diffstat (limited to 'units/systemd-networkd.socket')
-rw-r--r--units/systemd-networkd.socket1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-networkd.socket b/units/systemd-networkd.socket
index d15ee9ed83..8cd7bab67a 100644
--- a/units/systemd-networkd.socket
+++ b/units/systemd-networkd.socket
@@ -8,6 +8,7 @@
[Unit]
Description=networkd rtnetlink socket
Documentation=man:systemd-networkd.service(8) man:rtnetlink(7)
+ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no
Before=sockets.target