Timezone problems on -current

tech-lists tech-lists at zyxst.net
Tue May 4 01:14:00 UTC 2021


Hi,

On Mon, May 03, 2021 at 08:34:42AM -0700, bob prohaska wrote:
>It seems that the timezone gets screwed up each time the OS is
>upgraded on a Pi4  via sources on -current. ntpdate is working, but the

[snip]

On all my VMs which are mostly 12.2-p6/amd64 I run ntpdate and ntpd 
and they'll all return a line like this:

ntpdate[532]: step time server 178.79.145.244 offset -3598.919836 sec

when rebooted. I have this in my /etc/rc.conf:

# ntpd
ntpdate_enable="YES"
ntpdate_flags="-b"
ntpdate_hosts="uk.pool.ntp.org"
ntpd_enable="YES"
ntpd_sync_on_start="YES"

if those lines are missing, the clock will show a majorly drifted value
on reboot, and unless ntpd is told to, it won't set the proper time
immediately. It'll do it in small increments over a long time. With my
config, when login appears, the time is correctly set. Maybe it doesn't
need the ntpdate lines. I understand that ntpdate is being phased out?
Anyway, it seems to work, for now.

-- 
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20210504/b1f569e1/attachment.sig>


More information about the freebsd-arm mailing list