Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2021 02:13:55 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: Timezone problems on -current
Message-ID:  <YJCf00lvkp%2BUyamn@cloud.zyxst.net>
In-Reply-To: <20210503153442.GB37236@www.zefox.net>
References:  <20210503153442.GB37236@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--/qQYFrucODTFTqSF
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
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=3D"YES"
ntpdate_flags=3D"-b"
ntpdate_hosts=3D"uk.pool.ntp.org"
ntpd_enable=3D"YES"
ntpd_sync_on_start=3D"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.

--=20
J.

--/qQYFrucODTFTqSF
Content-Type: application/pgp-signature; name="signature.asc"

-----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-----

--/qQYFrucODTFTqSF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YJCf00lvkp%2BUyamn>