From 22ffd25ba538bc04b22b778e0b5ecea830ba239f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 Dec 2012 12:16:48 +0100 Subject: [PATCH] units: add CAP_DAC_OVERRIDE+CAP_SYS_PTRACE to hostnamed so that detection of virtualization works --- units/systemd-hostnamed.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index be22a3ad0..874f6c274 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -13,4 +13,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed [Service] ExecStart=@rootlibexecdir@/systemd-hostnamed BusName=org.freedesktop.hostname1 -CapabilityBoundingSet=CAP_SYS_ADMIN +CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE -- 2.30.2