summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-12-25 12:16:48 +0100
committerLennart Poettering <lennart@poettering.net>2012-12-31 21:24:26 +0100
commit22ffd25ba538bc04b22b778e0b5ecea830ba239f (patch)
treee2dbcd399f9b9e17ab5643bf7bcdb357a4916733
parentf791c684a3d248baa83a3167086826ba6238d7f5 (diff)
units: add CAP_DAC_OVERRIDE+CAP_SYS_PTRACE to hostnamed so that detection of virtualization works
-rw-r--r--units/systemd-hostnamed.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in
index be22a3ad01..874f6c274b 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