]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "timesyncd: enable DynamicUser="
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 19 Sep 2018 08:00:09 +0000 (10:00 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 19 Sep 2018 08:00:09 +0000 (10:00 +0200)
This reverts commit 48d3e88c18258d423c3953372ec4a2e638ab0422.

I kept the follow-symlink=false → follow-symlink=true change instact, since
we're likely to have existing installations with a symlink now.

units/systemd-timesyncd.service.in

index 7478906ae5db08c8859d1ac483c72182cc99a44b..12f918dd11b4be271ec5d1be78e19afa31edc072 100644 (file)
@@ -25,10 +25,11 @@ RestartSec=0
 ExecStart=!!@rootlibexecdir@/systemd-timesyncd
 WatchdogSec=3min
 User=systemd-timesync
-DynamicUser=yes
 CapabilityBoundingSet=CAP_SYS_TIME
 AmbientCapabilities=CAP_SYS_TIME
+PrivateTmp=yes
 PrivateDevices=yes
+ProtectSystem=strict
 ProtectHome=yes
 ProtectControlGroups=yes
 ProtectKernelTunables=yes