GNU bug report logs - #43291
ntp or nptd services on aarch64

Previous Next

Package: guix;

Reported by: "Vtly Shtrv" <guix.vits <at> disroot.org>

Date: Wed, 9 Sep 2020 11:35:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43291 in the body.
You can then email your comments to 43291 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#43291; Package guix. (Wed, 09 Sep 2020 11:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Vtly Shtrv" <guix.vits <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 09 Sep 2020 11:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Vtly Shtrv" <guix.vits <at> disroot.org>
To: "Die Guixen" <bug-guix <at> gnu.org>
Cc: Mike Rosset <mike.rosset <at> gmail.com>
Subject: ntp or nptd services on aarch64
Date: Wed, 09 Sep 2020 18:35:34 +0700
Hello Guixen.
From the Guix System (aarch64) powering a RockPro64 SBC.


What's broken:  ntp-service-type
                chrony
                
How it's broken:
ntp-service-type segfaults (Mike seen).
chrony segfaults:
`guix describe`   --->   guix 81ea278
`cat /home/vits/tmp/c   --->   pool pool.ntp.org iburst`
`sudo chronyd -d -u vits -f /home/vits/tmp/c   --->   Segmentation fault`

The `chronyd` works if used with -Q flag (".. it only prints the offset
without making any corrections of the clock and it allows chronyd to be
started without root privileges").


What's glitchy: openntpd-service-type

How it's glitch:
The dhcp-client-service-type + openntpd-service-type = not updated time
(easy to note since RockPro64's time is 2013 year after every reboot).

The openntpd-service-type works with static-networking-service-type.
It also sets the time correctly if `sudo herd restart ntpd` after boot.
Tested with (allow-large-adjustment #t).


Thank You Mike for the work-around with a static-networking.


---
Thanks for attention, Vitaliy.




Information forwarded to bug-guix <at> gnu.org:
bug#43291; Package guix. (Sun, 13 Sep 2020 19:52:01 GMT) Full text and rfc822 format available.

Message #8 received at 43291 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Vtly Shtrv <guix.vits <at> disroot.org>
Cc: 43291 <at> debbugs.gnu.org, Mike Rosset <mike.rosset <at> gmail.com>
Subject: Re: bug#43291: ntp or nptd services on aarch64
Date: Sun, 13 Sep 2020 15:50:43 -0400
On Wed, Sep 09, 2020 at 06:35:34PM +0700, Vtly Shtrv wrote:
> Hello Guixen.
> From the Guix System (aarch64) powering a RockPro64 SBC.
> 
> 
> What's broken:  ntp-service-type
>                 chrony
>                 
> How it's broken:
> ntp-service-type segfaults (Mike seen).
> chrony segfaults:

I fixed a crash of Chrony and NTP with commit
898fbb60b2354e82e5b7f259b44dbfed112a83aa.

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=898fbb60b2354e82e5b7f259b44dbfed112a83aa

Can you check if it fixes this bug for you?




Information forwarded to bug-guix <at> gnu.org:
bug#43291; Package guix. (Tue, 15 Sep 2020 04:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 43291 <at> debbugs.gnu.org (full text, mbox):

From: Vitaliy Shatrov <guix.vits <at> disroot.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 43291 <at> debbugs.gnu.org
Subject: Re: bug#43291: ntp or nptd services on aarch64
Date: Tue, 15 Sep 2020 11:06:20 +0700
[Message part 1 (text/plain, inline)]
Sorry for delay.  Just a day more...
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#43291; Package guix. (Wed, 16 Dec 2020 12:44:02 GMT) Full text and rfc822 format available.

Message #14 received at 43291 <at> debbugs.gnu.org (full text, mbox):

From: Vitaliy Shatrov <guix.vits <at> disroot.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 43291 <at> debbugs.gnu.org, Mike Rosset <mike.rosset <at> gmail.com>
Subject: Re: bug#43291: ntp or nptd services on aarch64
Date: Wed, 16 Dec 2020 19:43:58 +0700
[Message part 1 (text/plain, inline)]
Sorry, my installation now broken.
Also sorry for delay.
Was tweaking Guix and playing with sockets.

Cannot confirm, hope it is working.
Thank You, man.

On September 14, 2020 2:50:43 AM GMT+07:00, Leo Famulari <leo <at> famulari.name> wrote:
>On Wed, Sep 09, 2020 at 06:35:34PM +0700, Vtly Shtrv wrote:
>> Hello Guixen.
>> From the Guix System (aarch64) powering a RockPro64 SBC.
>> 
>> 
>> What's broken:  ntp-service-type
>>                 chrony
>>                 
>> How it's broken:
>> ntp-service-type segfaults (Mike seen).
>> chrony segfaults:
>
>I fixed a crash of Chrony and NTP with commit
>898fbb60b2354e82e5b7f259b44dbfed112a83aa.
>
>https://git.savannah.gnu.org/cgit/guix.git/commit/?id=898fbb60b2354e82e5b7f259b44dbfed112a83aa
>
>Can you check if it fixes this bug for you?

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[Message part 2 (text/html, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Wed, 16 Dec 2020 18:27:02 GMT) Full text and rfc822 format available.

Notification sent to "Vtly Shtrv" <guix.vits <at> disroot.org>:
bug acknowledged by developer. (Wed, 16 Dec 2020 18:27:02 GMT) Full text and rfc822 format available.

Message #19 received at 43291-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Vitaliy Shatrov <guix.vits <at> disroot.org>
Cc: 43291-done <at> debbugs.gnu.org, Mike Rosset <mike.rosset <at> gmail.com>
Subject: Re: bug#43291: ntp or nptd services on aarch64
Date: Wed, 16 Dec 2020 13:25:55 -0500
On Wed, Dec 16, 2020 at 07:43:58PM +0700, Vitaliy Shatrov wrote:
> Sorry, my installation now broken.
> Also sorry for delay.
> Was tweaking Guix and playing with sockets.
> 
> Cannot confirm, hope it is working.
> Thank You, man.

Okay, I'll close the bug for now. If anyone is still experiencing it, we
can re-open.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 14 Jan 2021 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.