From owner-freebsd-arm@freebsd.org Tue May 4 01:14:00 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3A2905FB2F3 for ; Tue, 4 May 2021 01:14:00 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FZ2133pM2z3vm3 for ; Tue, 4 May 2021 01:13:59 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 3702B19D5 for ; Mon, 3 May 2021 21:13:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 03 May 2021 21:13:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=G5tbtBnnC56UEr9NipfOBeJoGMQ LoHyJCQAU0TLYGwU=; b=W/LYS2aThHbnksv5JqOQ4MLKt4wjL8T+2yg8EJLK/bC zmLAAbnCvinwI3tHWpPXtL3q3QDr8XHS4iLky/GW49kuT+01MSCb0n1Ufhxj9g2I /mr+H3IKsDpTFa5vmcMi3FJt4TSztoyFUoTwnpu5Cf4xIXuBskJqvhuIyA/2IDLw 3hpBPOrt0HnluW2cCyAjysBBqVow5SanlqepANMQBpOfYEmP1BVtZjBK+IHguPLz OXN6ywYXnPT/sXPofBmusv3yPt3cc5L1YvlZg56KqtQEI2X3T/Vdh6YsWwZhJtVn JOOUC8/zenVIzv/udGWGjrvwncZqq+TB4Y86cZ+WJ8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=G5tbtB nnC56UEr9NipfOBeJoGMQLoHyJCQAU0TLYGwU=; b=YRN3IIbD1aMRwjEH0x9au7 LrVMDHKTFNLGi6iVkk41LDsSlL4tXMJLkTfT13uqznbxclzqWmz4vl4hhjOMMkJZ HblSFvCAojR1tKICfGqf+fZqBww7JYYVErMcp3r5a5UJRlViJ0zUcW4SQvLgKox/ DFXoX8dUs+g3+HGVYsQhVKozI48tKSWIRk8VWPoOBtCj7ICVny2MDxvxfDrvZzKz 1S3N/F9lFBUlGPrsMmBsyGkY5PB/S7278TzXATzRIfBPlDZ3GTIm6G069n3NjGPb s1+DO6OGKeFjpdec7X4v07NfnW0R26ckCY0+9BA9ZhTgfnnDb2z5KtM4s9Mj+uLg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefhedggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeevudekteeutdevtdejueelvdetke ehveelffefvedukeehueeifeehkeeugeeufeenucffohhmrghinhepnhhtphdrohhrghen ucfkphepkeelrddugeehrddutddtrddufeelnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from cloud.zyxst.net (v007.zyxst.net [89.145.100.139]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 3 May 2021 21:13:56 -0400 (EDT) Date: Tue, 4 May 2021 02:13:55 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: Re: Timezone problems on -current Message-ID: Mail-Followup-To: freebsd-arm@freebsd.org References: <20210503153442.GB37236@www.zefox.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/qQYFrucODTFTqSF" Content-Disposition: inline In-Reply-To: <20210503153442.GB37236@www.zefox.net> X-Rspamd-Queue-Id: 4FZ2133pM2z3vm3 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=W/LYS2aT; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=YRN3IIbD; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.21:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2021 01:14:00 -0000 --/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--