From 2006b8494ecc8db2842472019781d2424b4e912f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 3 Nov 2017 03:12:55 +0100 Subject: [PATCH] Fix starting time synchronization service systemd-timesyncd.service isn't enough, for various reasons: - it is started too early in the boot process - files in /var/run/qubes-services are not yet there - by default it does only one shot synchronization, and there is no network at that early boot time yet - by default use-ntp is set to "no" So, in addition, enable actual ntp client. Fixes QubesOS/qubes-issues#3210 --- vm-systemd/chronyd.service.d/30_qubes.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vm-systemd/chronyd.service.d/30_qubes.conf b/vm-systemd/chronyd.service.d/30_qubes.conf index 5679a2f..72d5aff 100644 --- a/vm-systemd/chronyd.service.d/30_qubes.conf +++ b/vm-systemd/chronyd.service.d/30_qubes.conf @@ -1,3 +1,4 @@ [Unit] -ConditionPathExists=/var/run/qubes-service/ntpd +ConditionPathExists=|/var/run/qubes-service/clocksync +ConditionPathExists=|/var/run/qubes-service/ntpd After=qubes-sysinit.service