networkd: unit - add cap to load modules

Remember to drop this when the kernel gains autoloading for all netdev kinds.
This commit is contained in:
Tom Gundersen 2014-05-12 17:37:52 +02:00
parent 7951dea209
commit 7c8ec321e7
1 changed files with 1 additions and 1 deletions

View 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]