]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
unbound.service.in: drop CAP_NET_RAW 1350/head
authorMaryse47 <41080948+Maryse47@users.noreply.github.com>
Tue, 23 Sep 2025 15:13:31 +0000 (17:13 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Sep 2025 15:13:31 +0000 (17:13 +0200)
CAP_NET_RAW is unnecessary after CAP_NET_ADMIN was added

contrib/unbound.service.in

index 45101f61268f590a3549145514cba625fd3e68c5..b05e2c959a77e563ff1479eba76f4d040f5a8fef 100644 (file)
@@ -59,7 +59,7 @@ ExecReload=+/bin/kill -HUP $MAINPID
 ExecStart=@UNBOUND_SBIN_DIR@/unbound -d -p
 NotifyAccess=main
 Type=notify
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_SYS_RESOURCE CAP_NET_RAW CAP_NET_ADMIN
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_SYS_RESOURCE CAP_NET_ADMIN
 MemoryDenyWriteExecute=true
 NoNewPrivileges=true
 PrivateDevices=true