summaryrefslogtreecommitdiffstats
path: root/system/netdata.service.in
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2016-08-14 16:11:19 +0300
committerCosta Tsaousis <costa@tsaousis.gr>2016-08-14 16:11:19 +0300
commitca3e367aeb9065828c656ed45bf78661222e7d90 (patch)
tree593d16095af9866f6e1fa685e587f51228252059 /system/netdata.service.in
parenta9e6334edcec1af647e84bd85542fd467d8e9a33 (diff)
disable capabilities at systemd.service; #773
Diffstat (limited to 'system/netdata.service.in')
-rw-r--r--system/netdata.service.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/netdata.service.in b/system/netdata.service.in
index afdf0d78ce..2f71735661 100644
--- a/system/netdata.service.in
+++ b/system/netdata.service.in
@@ -28,8 +28,11 @@ SendSIGKILL=no
# -----------------------------------------------------------------------------
# Hardening netdata
-AmbientCapabilities=CAP_DAC_READ_SEARCH CAP_SYS_PTRACE
-CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_SYS_PTRACE
+# These will apply these capabilities to the entire netdata process tree
+# We don't want this - only apps.plugin needs them
+# AmbientCapabilities=CAP_DAC_READ_SEARCH CAP_SYS_PTRACE
+# CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_SYS_PTRACE
+
PrivateTmp=true
ProtectSystem=full
ProtectHome=read-only