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
This commit is contained in:
Marek Marczykowski-Górecki 2017-11-03 03:12:55 +01:00
parent 92682903ad
commit 2006b8494e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1,3 +1,4 @@
[Unit] [Unit]
ConditionPathExists=/var/run/qubes-service/ntpd ConditionPathExists=|/var/run/qubes-service/clocksync
ConditionPathExists=|/var/run/qubes-service/ntpd
After=qubes-sysinit.service After=qubes-sysinit.service