[Bug]: time is shifting by 2 hours #13
Labels
No labels
Memes
ai-moderated
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
Euri-Linux/euri-iso#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Hello.
I grabbed the last development ISO you made. In Calamares, I choose Europe/Paris to be my timezone. But on first start, displayed time is shifting by 2 hours.
The workaround was to install ntp and enter in a terminal: sudo ntpdate fr.pool.ntp.org
I tried to activate automatic sync for time in KDE date and time settings option, but I'm unable to activate this option.
So which ntp tool - ntp ? chrony ? openntpd ? - is used here and can be used to automatically sync your local
time ?
Thanks a lot for your answer.
Have a good day.
Steps to Reproduce
Expected Behavior
No time shift.
Actual Behavior
Time is 2 hours in the future
Environment
Relevant Log Output
Code of Conduct
hey fred, good catch — this was a real bug, now fixed.
short version: the iso ships ntp (ntp-dinit) but never enables the ntpd service at install time. so nothing ever syncs the clock. your vm's rtc holds local time (qemu likes -rtc base=localtime, and paris = utc+2 in summer) while linux treats /etc/adjtime as utc. so at boot it reads that paris value as utc and the clock lands 2h ahead. your ntpdate workaround is literally what ntpd does automatically — that's why it fixed the display.
fix is merged for the next dev iso: ntpd enabled in services-artix.conf (offline + online). first boot, as long as you have network, it corrects within seconds. no manual steps.
to your "ntp / chrony / openntpd?" — it's ntp (ntp-dinit). you don't need the others.
and the greyed-out kde "automatic sync" toggle: expected. that toggle controls systemd-timesyncd, but this is a dinit box — no systemd to drive it. time still syncs fine via ntpd, the toggle just has nothing to do. cosmetic.
if you can retest on the next dev iso (or on your current install: sudo dinitctl enable ntpd && sudo dinitctl start ntpd), the shift should be gone. thanks for the clean report — zero digging needed.
Well, I still have to do a sudo ntpdate fr.pool.ntp.org to get the right time. Maybe the fix in the ISO is better than manually installing and enable ntpd.
And I'm used to write bug reports. 17 years of using Archlinux helps a little here :)
Sorry to say that, but with last ISO from github action https://github.com/Antergos-NeXT/antergos-iso/actions/runs/31129619700 I still have a time shift. Ouch :(