Re: Timezone problems on -current

tech-lists <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmCQn8oACgkQs8o7QhFz
NAVK9g/+JWD+eKdULTU9fD8hHe5tXHJyIigSIto6jiSiLcrn7lqY3Uz4+ORCiG3+
4MfNu9Bzq/gQ5oagzuWoJDw/BzKhvZ5daCglNRm74DZPXrmB3D+2Civp84JsBiND
vkXhlIMzpztyFDGO6YiJoQCXvEp4o3OQLVCUuua7pnhi97k6Vc6ulAovZRG3kdKF
ExamRMbWYKIWrfolD1KP82mePHmiWG5iC2sOwyEAZOw6FDEPau/qCc9X94U20UFt
6B4p1sq7j0L8PPejyc45SXIIFEqOie/LULLAQVOGIc0RVZYvUUOs2xuq0SKncI9S
g8HKofEQEZMVHPdC19+ajAQCZ0/WRyiUdyRyWMbGnti9tOsmPItQ+NDkddPwww/D
qQ/baFRznNlCjR8+qoXm73I5WDO0Ju0+xk7i4yM+3YYRqlADjY45gIJnj96lcZwr
S6AB7zhKor8rtBUaUWgw+n+Q3uTboPTvsf3mpeIkJUu/8slRzbn40kMf11Z8j0t0
1phk0LT5Evk0MAMu9lYThU/b67TYuf3z6p8NYFQGVTYhCsQxBJ8S+YKwuew16tL7
P7flz/njQ8akHAcN34MFzokCqYFGxhtI/BrdkoOZ4feXLKHaZyFw/2/zO2gYMUrT
e6BHANozpL0xsWUKpLNc9cb1JYx7Qsr/JnJ8M3cNHvH66j2eIg8=
=tZge
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.