From 40393d5247c4cd28625fdccbc2b78f3406d44c45 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 1 Jun 2014 08:54:09 +0200 Subject: units: remove CAP_SYS_PTRACE capability from hostnamed/networkd The ptrace capability was only necessary to detect virtualizations environments. Since we changed the logic to determine this to not require priviliges, there's no need to carry the CAP_SYS_PTRACE capability anymore. --- units/systemd-hostnamed.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units/systemd-hostnamed.service.in') diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index 44812592e2..79e22c1d4f 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -13,7 +13,7 @@ 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 -- cgit v1.2.3-54-g00ecf