summaryrefslogtreecommitdiff
path: root/units/systemd-hostnamed.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-19 06:07:29 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-19 06:07:29 +0200
commit2286fdf7c5d36864b5c46c4c784774a7cfc55213 (patch)
tree3e808163d2f972b0a0b51e848ab4a67e2fcf3aee /units/systemd-hostnamed.service.in
parent4f34ed54f854ff7eeede44cbb99a9fd27a5dce71 (diff)
hostnamed: drop all caps but CAP_SYS_ADMIN
Diffstat (limited to 'units/systemd-hostnamed.service.in')
-rw-r--r--units/systemd-hostnamed.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in
index 32a3ab5f9a..6efab1e25f 100644
--- a/units/systemd-hostnamed.service.in
+++ b/units/systemd-hostnamed.service.in
@@ -14,3 +14,4 @@ Description=Hostname Service
ExecStart=@rootlibexecdir@/systemd-hostnamed
Type=dbus
BusName=org.freedesktop.hostname1
+CapabilityBoundingSet=CAP_SYS_ADMIN