chiark / gitweb /
networkd: drop CAP_SYS_MODULE
[elogind.git] / units / systemd-hostnamed.service.in
index c8bf8480c9762520b286ef0452da4daa2a1eb2bd..79e22c1d4fd832b2d875ee68e5723928fc1348fd 100644 (file)
@@ -13,7 +13,8 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
 [Service]
 ExecStart=@rootlibexecdir@/systemd-hostnamed
 BusName=org.freedesktop.hostname1
-CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE
+CapabilityBoundingSet=CAP_SYS_ADMIN
 WatchdogSec=1min
 PrivateTmp=yes
 PrivateDevices=yes
+PrivateNetwork=yes