Devuan bug report logs - #404
From A. V. Hwclock issue

Package: util-linux; Maintainer for util-linux is Devuan Developers <devuan-dev@lists.dyne.org>; Source for util-linux is src:util-linux.

Reported by: Andrey Nikitushkin <a.v.nikitushkin@gmail.com>

Date: Fri, 28 Feb 2020 21:03:01 UTC

Severity: normal

Tags: invalid

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#404: From A. V. Hwclock issue
Reply-To: Mark Hindley <mark@hindley.org.uk>, 404@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Daniel Reurich <daniel@centurion.net.nz>
X-Loop: owner@bugs.devuan.org
Resent-Date: Sun, 01 Mar 2020 14:03:02 +0000
Resent-Message-ID: <handler.404.B404.158307120114139@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 404
X-Devuan-PR-Package: util-linux
X-Devuan-PR-Keywords: 
References: <c1a2e08b-cc39-d0ac-6d70-04be87cbdc50@gmail.com>
Received: via spool by 404-submit@bugs.devuan.org id=B404.158307120114139
          (code B ref 404); Sun, 01 Mar 2020 14:03:02 +0000
Received: (at 404) by bugs.devuan.org; 1 Mar 2020 14:00:01 +0000
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 <debbugs@localhost> (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 <mark@hindley.org.uk>)
	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 <mark@hindley.org.uk>)
	id 1j8P0M-000326-7C; Sun, 01 Mar 2020 13:51:38 +0000
Date: Sun, 1 Mar 2020 13:51:38 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 404@bugs.devuan.org, Andrey Nikitushkin <a.v.nikitushkin@gmail.com>
Message-ID: <20200301135138.GA11720@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <c1a2e08b-cc39-d0ac-6d70-04be87cbdc50@gmail.com>
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 <a.v.nikitushkin@gmail.com> 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

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue Apr 16 21:22:09 2024;