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

Package: util-linux; Reported by: Andrey Nikitushkin <[email protected]>; Keywords: invalid; Done: Mark Hindley <[email protected]>; Maintainer for util-linux is Devuan Developers <[email protected]>.
No longer marked as found in versions 2.33.1. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
Removed tag(s) moreinfo. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
Notification sent to Andrey Nikitushkin <[email protected]>:
bug acknowledged by developer. Full text available.
Marked bug as done Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
Added tag(s) invalid. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 404-quiet) by bugs.devuan.org; 2 Mar 2020 10:20:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Mon, 02 Mar 2020 10:20:04 +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 B2A1DF60ACD
	for <[email protected]>; Mon,  2 Mar 2020 11:17:19 +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 <[email protected]>)
	id 1j8i8T-0004tN-Fh
	for [email protected]; Mon, 02 Mar 2020 10:17:17 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1j8i8S-0006uT-6y
	for [email protected]; Mon, 02 Mar 2020 10:17:16 +0000
Date: Mon, 2 Mar 2020 10:17:16 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: Re: From A. V. Hwclock issue
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
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 invalid
Control: found -1
Control: close -1

Message received at [email protected]:


Received: (at 404) by bugs.devuan.org; 2 Mar 2020 09:29:58 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 19:10:03 +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 6E435F60991
	for <[email protected]>; Sun,  1 Mar 2020 20:06:05 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="Af7rTlXX";
	dkim-atps=neutral
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 <[email protected]>)
	id 1j8Tue-0008N0-0c
	for [email protected]; Sun, 01 Mar 2020 19:06:04 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1j8Tud-0004Fv-8H
	for [email protected]; Sun, 01 Mar 2020 19:06:03 +0000
Resent-From: Mark Hindley <[email protected]>
Resent-Date: Sun, 1 Mar 2020 19:06:03 +0000
Resent-Message-ID: <[email protected]>
Resent-To: [email protected]
Received: from mail-wr1-f47.google.com ([209.85.221.47])
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1j8TkK-0008Gv-7n
	for [email protected]; Sun, 01 Mar 2020 18:55:24 +0000
Received: by mail-wr1-f47.google.com with SMTP id l5so9716000wrx.4
        for <[email protected]>; Sun, 01 Mar 2020 10:55:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-transfer-encoding:content-language;
        bh=1FKmRR0hVuG4qt6Xrv4aXmZPLbOzASqj4cKUAvTa5IM=;
        b=Af7rTlXXM7DOfyoPvsjLy+aYvU6hJDWWkMkEioK/nSozQRGRFt/060BXKrrtJoi4T5
         vcHKHwBAxLBXDaJF4loxXUAZtwI7wq4yFu5NsH1RPBUtAD9HhXIecK01LphAYZGn2On3
         bnlHg+W+EWXqnrmH36brGYg0hnCczUPO058FYzhlnb1w23hjF7Ct4vwJGO3SlhPy4cOj
         A3gLP8GysgHcNr6nP1FrJvL/MaBDLTISJyidwxC498zoxs62alxS9gtA24LjC8oVB0Sh
         83rqcTpilL4KT9bkyDkW3PAM7ir/SYNg5KoNPkpI36jVmGRbFtSvNG76r6YLbort39UN
         UNmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding
         :content-language;
        bh=1FKmRR0hVuG4qt6Xrv4aXmZPLbOzASqj4cKUAvTa5IM=;
        b=NQauNpQFA0B6SD6R80a0Hxf3hGIJ5mvbTyd1yh+sHy3XYq80W8ezMXjEiDMWnjVWMM
         aOiDcD0u9qDRCmPuMkfffWR7bWhPXU7DxZEaIR/HEVtdrV3jkip3F0fPc3dAZKlNvmNb
         4HXPMmp6oaLUs2LGdVq62WwHBIa9V98slTohqJmP5WnYf12uYQ23klHRml2VRSuHNrjI
         V3YLNGU0HVDgQGbOvYsAvsgGWrIXvELgaDMrxnHEEKNSub6JtO2AS21eo6ZKKFugGMnJ
         MOEkL6HnxWWog+fqGN+kGJRcS2YjJaW84nQ5i/sFbdnWJ8cf3zxe8lhEPrAIctJULw7D
         0buQ==
X-Gm-Message-State: APjAAAVhbtCHdQ5TM9DTEM/oU1c1WUk38yMPk++IwHDGWYaUL70z0xX7
	72rLZSMUOKFV37pzha873tSPbeGE
X-Google-Smtp-Source: APXvYqxmAeM3hxhRyaz2sf3AtxD8yyUR9pLh8m9TDR4uiSHls3x9Z4Ean5ZJB+fR2IzbjeolwH8mwQ==
X-Received: by 2002:adf:81f6:: with SMTP id 109mr16743944wra.235.1583088905033;
        Sun, 01 Mar 2020 10:55:05 -0800 (PST)
Received: from [192.168.132.2] (host-93-124-43-90.dsl.sura.ru. [93.124.43.90])
        by smtp.gmail.com with ESMTPSA id p15sm11805011wma.40.2020.03.01.10.55.04
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Sun, 01 Mar 2020 10:55:04 -0800 (PST)
Subject: Re: From A. V. Hwclock issue
To: Mark Hindley <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
From: Andrey Nikitushkin <[email protected]>
Message-ID: <[email protected]> (sfid-20200301_185624_905619_306AA818)
Date: Sun, 1 Mar 2020 21:55:02 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Received-SPF: pass client-ip=209.85.221.47; [email protected]; helo=mail-wr1-f47.google.com
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-27CA1CFB 
X-CRM114-CacheID: sfid-20200301_185624_905619_306AA818 
X-CRM114-Status: GOOD (  13.81  )
X-UID: 44550                                                  
X-Spam-Status: No, score=3.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,FORGED_MUA_MOZILLA,HEADER_FROM_DIFFERENT_DOMAINS,
	NML_ADSP_CUSTOM_MED,SPF_PASS,T_DKIM_INVALID autolearn=disabled
	version=3.4.2
X-Spam-Level: ***
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

I'm not a tolerant person and I don't really dislike psychos. I told you 
earlier that UTC is +00:00, not +03: 00. I'm sorry you don't understand 
this, and you're arguing with me. Don't write to me again, Troll. I 
won't answer you. I repeat again: I don't LIKE PSYCHOS! I FUCK THEM!

===============================================================================================

On 3/1/20 9:44 PM, Mark Hindley wrote:
> On Sun, Mar 01, 2020 at 06:40:00PM +0000, Mark Hindley wrote:
>>> 2. The error is with hwclock, because UTC should not be +03:00. UTC must be
>>> +00:00!!!
>> I am sorry, but you are misunderstanding.
>>
>> 'hwclock --utc' does NOT mean print the hclock time in UTC equivalent.
>> It means print the hwclock time and I have the hwclock SET to UTC.
> Please read hwclock(8). In particular:
>
>   --localtime
>   -u, --utc
>          Indicate which timescale the Hardware Clock is set to.
>
>   -r, --show
>   --get
>          Read  the  Hardware  Clock  and print the time on standard output.  The
>   	time shown is always in local time,
>   	even if you keep your Hardware Clock in UTC.
>
> Mark

-- 
============================================
С наилучшими пожеланиями, Никитушкин Андрей!
Тел.(сот.): +79063975544
============================================


Acknowledgement sent to Andrey Nikitushkin <[email protected]>:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <[email protected]>. Full text available.
Information forwarded to [email protected], Daniel Reurich <[email protected]>:
bug#404; Package util-linux. Full text available.

Message received at [email protected]:


Received: (at 404) by bugs.devuan.org; 1 Mar 2020 18:50:06 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 18:50:05 +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 69DC6F60B21
	for <[email protected]>; Sun,  1 Mar 2020 19:44:52 +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 <[email protected]>)
	id 1j8Ta5-0008Dw-FH; Sun, 01 Mar 2020 18:44:50 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1j8Ta3-00044D-QO; Sun, 01 Mar 2020 18:44:47 +0000
Date: Sun, 1 Mar 2020 18:44:47 +0000
From: Mark Hindley <[email protected]>
To: Andrey Nikitushkin <[email protected]>
Cc: [email protected]
Subject: Re: From A. V. Hwclock issue
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Sun, Mar 01, 2020 at 06:40:00PM +0000, Mark Hindley wrote:
> > 2. The error is with hwclock, because UTC should not be +03:00. UTC must be
> > +00:00!!!
> 
> I am sorry, but you are misunderstanding.
> 
> 'hwclock --utc' does NOT mean print the hclock time in UTC equivalent.
> It means print the hwclock time and I have the hwclock SET to UTC.

Please read hwclock(8). In particular:

 --localtime
 -u, --utc
        Indicate which timescale the Hardware Clock is set to.

 -r, --show
 --get
        Read  the  Hardware  Clock  and print the time on standard output.  The
 	time shown is always in local time,
 	even if you keep your Hardware Clock in UTC.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <[email protected]>. Full text available.
Information forwarded to [email protected], Daniel Reurich <[email protected]>:
bug#404; Package util-linux. Full text available.

Message received at [email protected]:


Received: (at 404) by bugs.devuan.org; 1 Mar 2020 18:50:05 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 18:50:05 +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 02A6DF60B21
	for <[email protected]>; Sun,  1 Mar 2020 19:40:04 +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 <[email protected]>)
	id 1j8TVS-0008Cu-BU; Sun, 01 Mar 2020 18:40:02 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1j8TVQ-00042e-7X; Sun, 01 Mar 2020 18:40:00 +0000
Date: Sun, 1 Mar 2020 18:40:00 +0000
From: Mark Hindley <[email protected]>
To: Andrey Nikitushkin <[email protected]>
Cc: [email protected]
Subject: Re: From A. V. Hwclock issue
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Sun, Mar 01, 2020 at 09:30:41PM +0300, Andrey Nikitushkin wrote:
> Mark!
> 
> 1. I didn't set up anything myself!
> 
> 2. The error is with hwclock, because UTC should not be +03:00. UTC must be
> +00:00!!!

I am sorry, but you are misunderstanding.

'hwclock --utc' does NOT mean print the hclock time in UTC equivalent.
It means print the hwclock time and I have the hwclock SET to UTC.

Mark


Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <[email protected]>. Full text available.
Information forwarded to [email protected], Daniel Reurich <[email protected]>:
bug#404; Package util-linux. Full text available.

Message received at [email protected]:


Received: (at 404) by bugs.devuan.org; 1 Mar 2020 18:30:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 18:30:04 +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 72674F60AEB
	for <[email protected]>; Sun,  1 Mar 2020 19:23:20 +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 <[email protected]>)
	id 1j8TFH-00085g-6a; Sun, 01 Mar 2020 18:23:19 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1j8TFG-0003yn-3t; Sun, 01 Mar 2020 18:23:18 +0000
Date: Sun, 1 Mar 2020 18:23:18 +0000
From: Mark Hindley <[email protected]>
To: Andrey Nikitushkin <[email protected]>
Cc: [email protected]
Subject: Re: From A. V. Hwclock issue
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Sun, Mar 01, 2020 at 09:15:45PM +0300, Andrey Nikitushkin wrote:
> Hello, Mark!
> 
> I don't set the time in the BIOS manually. The time in the BIOS is set
> automatically when I restart my laptop with Debian. The time in the BIOS
> during a reboot is set based on the values received from hwclock, the time
> in the BIOS based on the hwclock information should be as localtime, not
> UTC. That's why I wrote about the problem with hwclock.
> 
> My /etc/adjtime:
> 
> 0.000000 1582921088 0.000000
> 1582921088
> LOCAL

Exactly. So you have it configured to save localtime to the hwclock.

Therefore, if you call 'hwclock --utc' you will get the wrong information,
becuase your hwclock is not set to UTC.

Please read hwclock(8). You should be using 'hwclock --localtime' or relying on
what is in /etc/adjtime.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <[email protected]>. Full text available.
Information forwarded to [email protected], Daniel Reurich <[email protected]>:
bug#404; Package util-linux. Full text available.
Added tag(s) moreinfo. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 404) by bugs.devuan.org; 1 Mar 2020 14:00:01 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 <[email protected]>; 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 <[email protected]>)
	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 <[email protected]>)
	id 1j8P0M-000326-7C; Sun, 01 Mar 2020 13:51:38 +0000
Date: Sun, 1 Mar 2020 13:51:38 +0000
From: Mark Hindley <[email protected]>
To: [email protected], Andrey Nikitushkin <[email protected]>
Subject: Re: From A. V. Hwclock issue
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
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 <[email protected]> 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

Information forwarded to [email protected], Daniel Reurich <[email protected]>:
bug#404; Package util-linux. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 28 Feb 2020 21:00:01 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Fri, 28 Feb 2020 21:00:01 +0000 (UTC)
Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45])
	(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 C47D8F60B3F
	for <[email protected]>; Fri, 28 Feb 2020 21:50:17 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="lzDAmHYk";
	dkim-atps=neutral
Received: by mail-wr1-f45.google.com with SMTP id m16so4530427wrx.11
        for <[email protected]>; Fri, 28 Feb 2020 12:50:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=to:from:subject:message-id:date:user-agent:mime-version
         :content-language;
        bh=6QM227bnwrOvQl0XHMFbADrxPx/1/tXHawof884lhfE=;
        b=lzDAmHYkBfufvMzNOREg4iJ2R/E9ovQQ0rquizOw8BcRDP4pGfM/QmnrqBzdnb4bgf
         Dt7OhblKm4Ynm8NE4wksW3Io56h0VbkSRCTzULa83SHJ+lGtInBSHMdSO/COrViFMHFG
         aL5huzsFfYNrNLFwZhN1vU8RubqR6BwUjJ66kcbLtZdGLXIsGrANwFdQ5uRDwvZX7hz+
         LSVcS0ArXzFtpvR/JiD+Wi40dH4if7Zd2WN6NpRVj4r2YyapHVCa3tz2+aDlGPsnZbnQ
         mX/Q7Kux6kKVXhbagUjxXlUqQ3ObVDcQxIbNYUSeeftYL0bDqkuCfY63T3JihRGtIqRo
         8hzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:to:from:subject:message-id:date:user-agent
         :mime-version:content-language;
        bh=6QM227bnwrOvQl0XHMFbADrxPx/1/tXHawof884lhfE=;
        b=Q15pnopl32t54D6qV2MbmiOEkdeubgz6tZK4YiS6pQ9YxHmbL7SkEDlMDSXlpC2xwl
         gw6X6b8nOHvnFFyLuRcWS9t/o4hwRUY5Onvo6Gaqns88XNqDKte19eQJty4KHH26BG+J
         bT0pH5Fbjv3V3Xl7xGdS+geIVg/HglPRLmrCsbxe3Qrl7reBfS6k3YBBuX+Oq2of4pQ1
         0rAuTPrscXYcc2sCOca0CwAT2o/E3+0r5j9JKwq9DWbHCiBnG4GGOSCwCL9z7MZXfRm9
         6p2Aj3J5aOWeDPciN/Xchnr6BoHU1T1e0Hc0C9ENO6drPlIsG59RQv9TQyuESwQZvPa2
         WEDQ==
X-Gm-Message-State: APjAAAUt+FFX+SzT0oOg8Fq2u/P2iNtZ3oWfdREIYYXxbY5sxxqjRKJq
	1o2P0lfCTcCOM2TJbHZbH6pNBFcQ
X-Google-Smtp-Source: APXvYqywl+jzBwLmdDuyrp9pHn7do5MtFpb864MePOYe8Jw89DYj6BXmKv+BVhlm6S/3xW19XvX++w==
X-Received: by 2002:adf:94a3:: with SMTP id 32mr6932423wrr.276.1582923015879;
        Fri, 28 Feb 2020 12:50:15 -0800 (PST)
Received: from [192.168.132.2] (host-95-152-45-148.dsl.sura.ru. [95.152.45.148])
        by smtp.gmail.com with ESMTPSA id f65sm3588888wmf.29.2020.02.28.12.50.14
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Fri, 28 Feb 2020 12:50:15 -0800 (PST)
To: [email protected]
From: Andrey Nikitushkin <[email protected]>
Subject: From A. V. Hwclock issue
Message-ID: <[email protected]>
Date: Fri, 28 Feb 2020 23:50:12 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="------------40A873685CC8DC53EAB9B4E3"
Content-Language: en-US
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is a multi-part message in MIME format.
--------------40A873685CC8DC53EAB9B4E3
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

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|

After a reboot, the BIOS sets the time to UTC, which should be localtime.

*Please report this issue to the hwclock developers.*

Thanks!

-- 
============================================
С наилучшими пожеланиями, Никитушкин Андрей!
Тел.(сот.): +79063975544
============================================


--------------40A873685CC8DC53EAB9B4E3
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <pre>Package: util-linux
Version: 2.33.1

Please see: <a class="moz-txt-link-freetext" href="https://dev1galaxy.org/viewtopic.php?id=3346">https://dev1galaxy.org/viewtopic.php?id=3346</a>
</pre>
    <p>Hello, friends!</p>
    <p>I have the following situation in Devuan 2 and Devuan 3:</p>
    <div class="codebox">
      <pre><code>hwclock --utc
2020-02-29 02:15:50.889268+03:00
hwclock --localtime
2020-02-28 23:16:54.311448+03:00</code></pre>
    </div>
    <p><strong>This is wrong!!!</strong><br>
      Must be:</p>
    <div class="codebox">
      <pre><code>hwclock --utc
2020-02-28 20:15:50.889268+03:00
hwclock --localtime
2020-02-28 23:16:54.311448+03:00</code></pre>
    </div>
    <p>After a reboot, the BIOS sets the time to UTC, which should be
      localtime.</p>
    <p><strong>Please report this issue to the hwclock developers.</strong></p>
    <p>Thanks!</p>
    <pre class="moz-signature" cols="72">-- 
============================================
С наилучшими пожеланиями, Никитушкин Андрей!
Тел.(сот.): +79063975544
============================================</pre>
  </body>
</html>

--------------40A873685CC8DC53EAB9B4E3--

Acknowledgement sent to Andrey Nikitushkin <[email protected]>:
New bug report received and forwarded. Copy sent to Daniel Reurich <[email protected]>. Full text available.
Report forwarded to [email protected], Daniel Reurich <[email protected]>:
bug#404; Package util-linux. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Thu, 28 Nov 2024 06:39:01 UTC