On 2026-04-06 20:23:30, Damien wrote:
>Le 2026-04-05 23:10, Todd C. Miller wrote:
>> One thing to check is whether /etc/localtime is a symbolic link to
>> /usr/share/zoneinfo/Europe/Warsaw or if it is a plain file.  It
>> should be a symbolic link, otherwise changes to the timezone data
>> won't take effect.
>
> It is, I launched zic -l /usr/share/zoneinfo/Europe/Warsaw
> as root while debugging
>
>> Another thing to check is whether you have the TZ environment
>> variable set (or set to a value other than Europe/Warsaw) since
>> that could be overriding the system timezone.
> 
> it isn't set.
>
>> Other than that, I'm stumped...
>
> Thanks for your answer
> I set the clock to the proper hour with date, but still have now idea of
> what to blameƒ..

Does your startup scripts (ex: rc.local) run any other time related commands,
like for example rdate?  I remember way in the past I had to run that to get
my system clock close enough for ntp to work correctly.

That also brings up ntp, hopefully you do use it.  Does "ntpctl -s all" say
the clock is synced?  NTP uses UTC for its' protocol so DST won't affect it.

But still any external clocks the system looks at I'd try at least checking
the time returned is good (rdate is good for checking them).  More then likely
you have both systems using the same sources so not likely to be your issue.

I would double check the BIOS clock.  I know you said it's set to GMT but go
into the BIOS Setup and look at the time displayed is the correct GMT time.
I'd look again for any setting related to daylight saving or timezones using 
DST.
The thinking here is the BIOS is adjusting its' clock on its' own and openbsd
is picking that up when it boots.

My server (different hardware) has an IPMI (HP iLo) that is its' own system.
It runs ntp, using its' own timezone files and all that but it has an option
to periodically update the server's hardware clock with it's time.  So this is
something for me that can change the BIOS clock that I would never know about by
looking only in BIOS Setup settings.  (It's also terrible at sub-second 
accuracy)
My server is old (but cheap), on its' final firmware (discontinued model) so any
bugs in it are here to stay.

Wish you good luck if finding the difference between your systems.

Reply via email to