chiark / gitweb /
networkd: unit - add cap to load modules
authorTom Gundersen <teg@jklm.no>
Mon, 12 May 2014 15:37:52 +0000 (17:37 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 12 May 2014 15:37:52 +0000 (17:37 +0200)
Remember to drop this when the kernel gains autoloading for all netdev kinds.

units/systemd-networkd.service.in

index 8dd37ff..f0df671 100644 (file)
@@ -19,7 +19,7 @@ Type=notify
 Restart=always
 RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-networkd
-CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_PTRACE
+CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_PTRACE CAP_SYS_MODULE
 WatchdogSec=1min
 
 [Install]