Vanilla-OS / live-iso

Vanilla OS Live ISO Builder.
GNU General Public License v3.0
998 stars 103 forks source link

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

Closed ghost closed 7 months ago

ghost commented 8 months ago

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 commented 8 months ago

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

ghost commented 8 months ago

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

taukakao commented 8 months ago

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

ghost commented 7 months ago

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

image

taukakao commented 7 months ago

@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 commented 7 months ago

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

taukakao commented 7 months ago

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 commented 7 months ago

Should be fixed in 09cc91089e1d18095fbd41ce39d12d8926f3fe16

Please reopen if the issue persists.

taukakao commented 7 months ago

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 commented 7 months ago

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