Skip to content
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

Time is not synchronized with an online clock, falling back to UEFI time #322

Closed
ghost opened this issue Mar 15, 2024 · 10 comments · Fixed by #323
Closed

Time is not synchronized with an online clock, falling back to UEFI time #322

ghost opened this issue Mar 15, 2024 · 10 comments · Fixed by #323
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Mar 15, 2024

I'm not sure if this should be reported here or in Albius.

Screenshot

17:02 was the correct time for Europe/Warsaw, as seen on the system clock.

Tested in 117, 118, 119 and 120.

@ghost
Copy link
Author

ghost commented Mar 16, 2024

By the way, my timezone is incorrectly automatically detected as Europe/Kaliningrad.

@ghost
Copy link
Author

ghost commented Mar 27, 2024

I can now confirm that this only happens in the installer. "First setup" does not have this issue.

@taukakao
Copy link
Member

Warsaw has the correct time for me.
Maybe your system clock is wrong, in which case every Timezone would be shifted by 1h.

@ghost
Copy link
Author

ghost commented Mar 27, 2024

I'm not sure what you mean. I think I would have noticed if the time on my PC was wrong.

image

@taukakao
Copy link
Member

@zehkira The operating system usually retrieves the system time online.
But if this fails, it falls back to the system (UEFI) time.
If your UEFI time is shifted by 1h, then this could be the reason for why this might happen.
Though the problem is still that it shouldn't fail to retrieve the time over the internet.

If this is actually what's happening then every timezone would be shifted by 1h, not only Warsaw.

@ghost
Copy link
Author

ghost commented Mar 27, 2024

I checked that and it is in fact off by an hour.

@taukakao taukakao changed the title Timezone time is off by ~1h Time is not synchronized with an online clock, falling back to UEFI time Mar 27, 2024
@taukakao taukakao transferred this issue from Vanilla-OS/vanilla-installer Mar 27, 2024
@taukakao taukakao transferred this issue from Vanilla-OS/live-iso Mar 29, 2024
@taukakao
Copy link
Member

I think I figured this out.
The installers time zones use the time when you started the installer. At this time, the system might not yet have synchronized the clock.
The installer should read in the time when the user changes to the timezone screen, not before.

@taukakao taukakao added the bug Something isn't working label Mar 29, 2024
@taukakao taukakao self-assigned this Mar 29, 2024
@taukakao
Copy link
Member

Should be fixed in 09cc91089e1d18095fbd41ce39d12d8926f3fe16

Please reopen if the issue persists.

@taukakao
Copy link
Member

Nevermind, this still happens. But it's not related to what I thought.
Instead, for some reason it just doesn't synchronize the time.

@taukakao taukakao reopened this Apr 12, 2024
@taukakao
Copy link
Member

Ok, it looks like there just is no time sync service installed whatsoever

@taukakao taukakao transferred this issue from Vanilla-OS/vanilla-installer Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant