-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clock drifts constantly on macOS because fedora's pool is unavailable #1145
Comments
Yep, I have |
Thanks, looking to create a repro on my side to see if can get any new information on this issue. |
Running container for 72 hours with no drift between host, VM, and container clock. Details:
|
@nicdoye, just to verify when updating the VM type from Otherwise, perhaps can you share your Finch, macOS, and architecture you are experiencing the issue? |
I don't think I've ever bothered with the qemu type. I did remove and init the vm a couple of weeks ago. I first reported this back in February (#837) on 1.1.2 and now I've seen it on 1.4.0 and 1.4.1
A second M1 Mac runs Podman, which is also based on fedora (39 not 40) on Apple Virtualisation, and while it's not used as much as my work Mac, I've not seen the same issue there. It seems to have the same/similar chronyd setup as the finch one, here. I'll fire finch up there, and see if I can get it to happen. Maybe our MDM, or using cap SYS_ADMIN or something is causing the issue. 🤷🏻♂️ |
This morning, both Macs have drifted. The finch vm on my work laptop is over 15 minutes behind. My personal laptop is about 75 seconds behind. I've attached a support bundle and the output from the vm's On my work laptop I see in the vm, 20 occurrences of
|
Describe the bug
The clock in the underlying VM on macOS drifts. Even over this weekend, it drifted nearly 2 mins.
Steps to reproduce
Start finch on macOS, run a long running container. Wait a couple of days. Run
date
and see it is no longer accurateExpected behavior
I expect sub-second accuracy of the VM's clock.
Screenshots or logs
Sample logs on the VM:
Additional context
Replacing the fedora pool in
/etc/chrony.conf
with:pool time.aws.com iburst
and runningsudo service chronyd force-reload
might fix the problem (it certainly synced the clock this morning, but only time will tell).The text was updated successfully, but these errors were encountered: