units: add CAP_DAC_OVERRIDE+CAP_SYS_PTRACE to hostnamed so that detection of virtualization works

This commit is contained in:
Lennart Poettering 2012-12-25 12:16:48 +01:00
parent f791c684a3
commit 22ffd25ba5
1 changed files with 1 additions and 1 deletions

View File

@ -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