chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
units: fix systemd-networkd.service in containers lacking CAP_NET_ADMIN
[elogind.git]
/
units
/
systemd-networkd.socket
diff --git
a/units/systemd-networkd.socket
b/units/systemd-networkd.socket
index d15ee9ed836dd2fde037488417ed1ce6b56a52ee..8cd7bab67ac9bd8c2efaa7c0aec387d3a55bbb8e 100644
(file)
--- 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