summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-08-16 23:07:40 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-08-16 23:07:40 -0400
commit0607a0add0b3ac72169be53d072db48c31a018d7 (patch)
tree20ba202f719c77ab967df8439689e740c85050e0
parentc3a190f94804dae9feef72fea0c69ffd821f0067 (diff)
Update for systemd 234
systemd commit c7fb922 (which appeared in 234) changed systemd-timesyncd from `ProtectSystem=full` to `ProtectSystem=strict`. This meant that it didn't have access to the /run/timesyncd/ sockets that we use.
-rw-r--r--systemd-timesyncd.service.d-wait.conf.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd-timesyncd.service.d-wait.conf.in b/systemd-timesyncd.service.d-wait.conf.in
index 2b29b52..9ea5c42 100644
--- a/systemd-timesyncd.service.d-wait.conf.in
+++ b/systemd-timesyncd.service.d-wait.conf.in
@@ -8,4 +8,5 @@ ExecStart=
ExecStart=@rootlibexecdir@/systemd-timesyncd-wrap @TIMESYNCD_PATH@
ExecStopPost=@RM@ -f -- /run/timesyncd/notify.sock
ExecStartPre=@RM@ -f -- /run/timesyncd/notify.sock
+ReadWritePaths=/run/timesyncd
NotifyAccess=all