From: Maryse47 <41080948+Maryse47@users.noreply.github.com> Date: Tue, 23 Sep 2025 15:13:31 +0000 (+0200) Subject: unbound.service.in: drop CAP_NET_RAW X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1350%2Fhead;p=thirdparty%2Funbound.git unbound.service.in: drop CAP_NET_RAW CAP_NET_RAW is unnecessary after CAP_NET_ADMIN was added --- diff --git a/contrib/unbound.service.in b/contrib/unbound.service.in index 45101f612..b05e2c959 100644 --- a/contrib/unbound.service.in +++ b/contrib/unbound.service.in @@ -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