From unknown Thu Mar 28 21:49:14 2024 Received: (at 404) by bugs.devuan.org; 1 Mar 2020 14:00:01 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (single-drop); Sun, 01 Mar 2020 14:00:01 +0000 (UTC) Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D367CF609A8 for <404@bugs.devuan.org>; Sun, 1 Mar 2020 14:51:42 +0100 (CET) Received: from apollo.hindleynet ([192.168.1.3] helo=apollo) by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1j8P0N-0006lw-MD; Sun, 01 Mar 2020 13:51:39 +0000 Received: from mark by apollo with local (Exim 4.84_2) (envelope-from ) id 1j8P0M-000326-7C; Sun, 01 Mar 2020 13:51:38 +0000 Date: Sun, 1 Mar 2020 13:51:38 +0000 From: Mark Hindley To: 404@bugs.devuan.org, Andrey Nikitushkin Subject: Re: From A. V. Hwclock issue Message-ID: <20200301135138.GA11720@hindley.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Debbugs-No-Ack: No Thanks User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Control: tags -1 moreinfo Andrey, Thanks for this. On Fri, 28 Feb 2020 23:50:12 +0300 Andrey Nikitushkin wrote: > Package: util-linux > Version: 2.33.1 > > Please see: https://dev1galaxy.org/viewtopic.php?id=3346 > > Hello, friends! > > I have the following situation in Devuan 2 and Devuan 3: > > |hwclock --utc 2020-02-29 02:15:50.889268+03:00 > hwclock --localtime 2020-02-28 23:16:54.311448+03:00| > > *This is wrong!!!* > Must be: > > |hwclock --utc 2020-02-28 20:15:50.889268+03:00 > hwclock --localtime 2020-02-28 23:16:54.311448+03:00| I think you might be misunderstanding here. As stated in hwclock(8), the --utc option is not to print the UTC time but to tell hwclock that the BIOS clock is set to UTC. This can be used to override what is in /etc/adjtime. What is your BIOS clock set to? What do you have in /etc/adjtime? Thanks Mark