Hi,
I'm running 4.0 with all current updates. I'm trying to figure out why I don't get synchronized time anywhere in the system. I have found various old issues and discussions about similar problems, but unfortunately none of the scenarios described there seem to be up-to-date anymore.
As I understand, my sys-net VM is the "ClockVM". I have confirmed that it is configured as such in Qubes settings (using the UI dialog in Qube Manager). However, it seems that this VM is not set up to sync time with an NTP server. I see that all entries in the "Time" block in /etc/systemd/timesyncd.conf are commented. "ntpdate" is not installed. Is there some other NTP sync mechanism installed in this VM? If so, where is it? In any case it's clearly not working.
Further, it appears that sync between VMs is also not working. I installed ntpdate in sys-net and executed it manually, thereby changing sys-net time. Then I manually executed qvm-sync-clock in dom0 (since I found it was being started by cron there). This worked correctly, and dom0 updated to the time from sys-net.
However, other VMs are not updating. There is no cron entry for qvm-sync-clock in the cron configuration of the fedora-29 template. Am I wrong to expect these other VMs to update automatically? If I'm not wrong, how is that expected to work?
I have confirmed that if I run qvm-sync-clock manually in my VMs, the time updates correctly.
To summarize, there seem to be two problems in my system:
1. The configured ClockVM sys-net isn't set up for NTP.
2. Automatic time sync (with the ClockVM) isn't enabled for VMs other than dom0.
Any feedback is appreciated!
Thanks
Oli