summaryrefslogtreecommitdiff
path: root/units/systemd-hostnamed.service.in
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2019-02-19 00:30:12 +0200
committerTopi Miettinen <toiwoton@gmail.com>2019-02-20 10:50:44 +0200
commit99894b867f1293f56d181d62f5015c5a0a8adbda (patch)
tree9b5dd7abaeee2127719bb3cc5baa4889df4e5bb0 /units/systemd-hostnamed.service.in
parentaecd5ac6218f6291186b530b89cf2e97333fffc0 (diff)
downloadsystemd-99894b867f1293f56d181d62f5015c5a0a8adbda.tar.gz
units: enable ProtectHostname=yes
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 9c925e80d9..62e9b28f5b 100644
--- a/units/systemd-hostnamed.service.in
+++ b/units/systemd-hostnamed.service.in
@@ -25,6 +25,7 @@ PrivateNetwork=yes
PrivateTmp=yes
ProtectControlGroups=yes
ProtectHome=yes
+ProtectHostname=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectSystem=strict