summaryrefslogtreecommitdiff
path: root/units/systemd-localed.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-09 10:58:28 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-09 16:12:03 +0100
commitc7fb922d6250543ba5462fa7a6ff03cc8f628e94 (patch)
treed7f792739c369510c6a41e61414c85eb8773497e /units/systemd-localed.service.in
parent3c19d0b46bb05aef5dcaa2ce83c31b15ee8ae11b (diff)
downloadsystemd-c7fb922d6250543ba5462fa7a6ff03cc8f628e94.tar.gz
units: switch on ProtectSystem=strict for our long running services
Let's step up the protection a notch
Diffstat (limited to 'units/systemd-localed.service.in')
-rw-r--r--units/systemd-localed.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-localed.service.in b/units/systemd-localed.service.in
index 1b6c163ef4..d6441d9f5f 100644
--- a/units/systemd-localed.service.in
+++ b/units/systemd-localed.service.in
@@ -18,7 +18,7 @@ CapabilityBoundingSet=
PrivateTmp=yes
PrivateDevices=yes
PrivateNetwork=yes
-ProtectSystem=yes
+ProtectSystem=strict
ProtectHome=yes
ProtectControlGroups=yes
ProtectKernelTunables=yes
@@ -28,3 +28,4 @@ RestrictNamespaces=yes
RestrictAddressFamilies=AF_UNIX
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io
SystemCallArchitectures=native
+ReadWritePaths=/etc