systemd: grant the daemon a license to kill kids
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 8 Oct 2015 17:14:43 +0000 (19:14 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Thu, 8 Oct 2015 17:23:53 +0000 (19:23 +0200)
It's for their own good. Otherwise stale dnsmasq instances haunt the shared
connections.

data/NetworkManager.service.in

index fbaf77d..6690f5a 100644 (file)
@@ -11,7 +11,7 @@ ExecStart=@sbindir@/NetworkManager --no-daemon
 Restart=on-failure
 # NM doesn't want systemd to kill its children for it
 KillMode=process
-CapabilityBoundingSet=CAP_NET_ADMIN CAP_DAC_OVERRIDE CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_MODULE CAP_AUDIT_WRITE
+CapabilityBoundingSet=CAP_NET_ADMIN CAP_DAC_OVERRIDE CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_MODULE CAP_AUDIT_WRITE CAP_KILL
 ProtectSystem=true
 ProtectHome=read-only