Whonix11 VirtualBox running on a Linux host.
For some reason my Whonix Gateway machine seems to be constantly losing the correct time. It doesn’t happen as a sudden change, it seems to just drift over time, so the longer I leave the machine running the more out of sync the time gets. Eventually the system time becomes so inaccurate that my Tor circuits begin failing. When things get to that point I can’t even seem to run Timesync command any more, and the only way that I can correct things is to manually edit the system time.
I’ve just run the Timesync command twice on the Gateway machine, the first time to set a baseline, and the second time approx 10 minutes later. In that 10 minutes the time skew was already more than 100 seconds.
It continues to get worse over time, so if I leave the Gateway running for a couple of days the time will end up being incorrect by several HOURS.
My Workstation machines (running on the same physical host) don’t seem to be having the same problem either.
Any ideas why this might be happening, or (more importantly) how I can try and prevent it?
edit - Same test again with approx 30 minute interval, and the time skew was already 300 seconds. I’ll continue to keep an eye on it, but it actually seems to be scaling fairly accurately at around 100 seconds every 10 minutes.