GNU bug report logs - #37504
"legacy" NTP configuration fallback fails

Previous Next

Package: guix;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Tue, 24 Sep 2019 16:03:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 37504 in the body.
You can then email your comments to 37504 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#37504; Package guix. (Tue, 24 Sep 2019 16:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marius Bakke <mbakke <at> fastmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 24 Sep 2019 16:03:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: bug-guix <at> gnu.org
Subject: "legacy" NTP configuration fallback fails
Date: Tue, 24 Sep 2019 18:01:55 +0200
[Message part 1 (text/plain, inline)]
Hello,

I have a configuration similar to this:

  (service ntp-service-type
           (ntp-configuration
            (servers '("10.1.1.1" "10.2.2.2"))))

When running `guix system reconfigure`, I get this error:

Backtrace:
In srfi/srfi-1.scm:
   592:29 19 (map1 (#<<service> type: #<service-type nscd 7f9e976…> …))
   592:29 18 (map1 (#<<service> type: #<service-type guix 7f9e976…> …))
   592:29 17 (map1 (#<<service> type: #<service-type urandom-seed…> …))
   592:29 16 (map1 (#<<service> type: #<service-type syslog 7f9e9…> …))
   592:29 15 (map1 (#<<service> type: #<service-type static-netwo…> …))
   592:29 14 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
   592:29 13 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
   592:29 12 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
   592:29 11 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
   592:29 10 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
   592:29  9 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
   592:29  8 (map1 (#<<service> type: #<service-type agetty 7f9e9…> …))
   592:29  7 (map1 (#<<service> type: #<service-type console-font…> …))
   592:29  6 (map1 (#<<service> type: #<service-type virtual-term…> …))
   592:29  5 (map1 (#<<service> type: #<service-type openssh 7f9e…> …))
   592:29  4 (map1 (#<<service> type: #<service-type mysql 7f9e97…> …))
   592:17  3 (map1 (#<<service> type: #<service-type ntp 7f9e9764…> …))
In gnu/services/networking.scm:
   393:37  2 (ntp-shepherd-service _)
In srfi/srfi-1.scm:
   592:17  1 (map1 ("10.1.1.1" "10.2.2.2"))
In gnu/services/networking.scm:
    340:2  0 (ntp-server->string _)

gnu/services/networking.scm:340:2: In procedure ntp-server->string:
Throw to key `match-error' with args `("match" "no matching pattern" "10.1.1.1")'.

This is on commit e5efdbce21a0afcbb3e73cc7b59111ccf62cb532.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37504; Package guix. (Thu, 31 Oct 2019 16:04:01 GMT) Full text and rfc822 format available.

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

From: T460s laptop <maxim.cournoyer <at> gmail.com>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 37504 <at> debbugs.gnu.org
Subject: Re: bug#37504: "legacy" NTP configuration fallback fails
Date: Thu, 31 Oct 2019 12:03:42 -0400
Hello Marius,

Marius Bakke <mbakke <at> fastmail.com> writes:

> Hello,
>
> I have a configuration similar to this:
>
>   (service ntp-service-type
>            (ntp-configuration
>             (servers '("10.1.1.1" "10.2.2.2"))))
>
> When running `guix system reconfigure`, I get this error:
>
> Backtrace:
> In srfi/srfi-1.scm:
>    592:29 19 (map1 (#<<service> type: #<service-type nscd 7f9e976…> …))
>    592:29 18 (map1 (#<<service> type: #<service-type guix 7f9e976…> …))
>    592:29 17 (map1 (#<<service> type: #<service-type urandom-seed…> …))
>    592:29 16 (map1 (#<<service> type: #<service-type syslog 7f9e9…> …))
>    592:29 15 (map1 (#<<service> type: #<service-type static-netwo…> …))
>    592:29 14 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>    592:29 13 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>    592:29 12 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>    592:29 11 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>    592:29 10 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>    592:29  9 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>    592:29  8 (map1 (#<<service> type: #<service-type agetty 7f9e9…> …))
>    592:29  7 (map1 (#<<service> type: #<service-type console-font…> …))
>    592:29  6 (map1 (#<<service> type: #<service-type virtual-term…> …))
>    592:29  5 (map1 (#<<service> type: #<service-type openssh 7f9e…> …))
>    592:29  4 (map1 (#<<service> type: #<service-type mysql 7f9e97…> …))
>    592:17  3 (map1 (#<<service> type: #<service-type ntp 7f9e9764…> …))
> In gnu/services/networking.scm:
>    393:37  2 (ntp-shepherd-service _)
> In srfi/srfi-1.scm:
>    592:17  1 (map1 ("10.1.1.1" "10.2.2.2"))
> In gnu/services/networking.scm:
>     340:2  0 (ntp-server->string _)
>
> gnu/services/networking.scm:340:2: In procedure ntp-server->string:
> Throw to key `match-error' with args `("match" "no matching pattern" "10.1.1.1")'.
>
> This is on commit e5efdbce21a0afcbb3e73cc7b59111ccf62cb532.

I'll fix this ASAP.  Sorry for not seeing this earlier!

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#37504; Package guix. (Thu, 31 Oct 2019 23:43:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: T460s laptop <maxim.cournoyer <at> gmail.com>
Cc: 37504 <at> debbugs.gnu.org
Subject: Re: bug#37504: "legacy" NTP configuration fallback fails
Date: Fri, 01 Nov 2019 00:42:24 +0100
[Message part 1 (text/plain, inline)]
T460s laptop <maxim.cournoyer <at> gmail.com> writes:

> Hello Marius,
>
> Marius Bakke <mbakke <at> fastmail.com> writes:
>
>> Hello,
>>
>> I have a configuration similar to this:
>>
>>   (service ntp-service-type
>>            (ntp-configuration
>>             (servers '("10.1.1.1" "10.2.2.2"))))
>>
>> When running `guix system reconfigure`, I get this error:
>>
>> Backtrace:
>> In srfi/srfi-1.scm:
>>    592:29 19 (map1 (#<<service> type: #<service-type nscd 7f9e976…> …))
>>    592:29 18 (map1 (#<<service> type: #<service-type guix 7f9e976…> …))
>>    592:29 17 (map1 (#<<service> type: #<service-type urandom-seed…> …))
>>    592:29 16 (map1 (#<<service> type: #<service-type syslog 7f9e9…> …))
>>    592:29 15 (map1 (#<<service> type: #<service-type static-netwo…> …))
>>    592:29 14 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>    592:29 13 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>    592:29 12 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>    592:29 11 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>    592:29 10 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>    592:29  9 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>    592:29  8 (map1 (#<<service> type: #<service-type agetty 7f9e9…> …))
>>    592:29  7 (map1 (#<<service> type: #<service-type console-font…> …))
>>    592:29  6 (map1 (#<<service> type: #<service-type virtual-term…> …))
>>    592:29  5 (map1 (#<<service> type: #<service-type openssh 7f9e…> …))
>>    592:29  4 (map1 (#<<service> type: #<service-type mysql 7f9e97…> …))
>>    592:17  3 (map1 (#<<service> type: #<service-type ntp 7f9e9764…> …))
>> In gnu/services/networking.scm:
>>    393:37  2 (ntp-shepherd-service _)
>> In srfi/srfi-1.scm:
>>    592:17  1 (map1 ("10.1.1.1" "10.2.2.2"))
>> In gnu/services/networking.scm:
>>     340:2  0 (ntp-server->string _)
>>
>> gnu/services/networking.scm:340:2: In procedure ntp-server->string:
>> Throw to key `match-error' with args `("match" "no matching pattern" "10.1.1.1")'.
>>
>> This is on commit e5efdbce21a0afcbb3e73cc7b59111ccf62cb532.
>
> I'll fix this ASAP.  Sorry for not seeing this earlier!

Thanks!  I've been meaning to fix it myself, but y'know...
[signature.asc (application/pgp-signature, inline)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Fri, 01 Nov 2019 04:05:01 GMT) Full text and rfc822 format available.

Notification sent to Marius Bakke <mbakke <at> fastmail.com>:
bug acknowledged by developer. (Fri, 01 Nov 2019 04:05:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 37504-done <at> debbugs.gnu.org
Subject: Re: bug#37504: "legacy" NTP configuration fallback fails
Date: Fri, 01 Nov 2019 00:04:32 -0400
Hello Marius,

Marius Bakke <mbakke <at> fastmail.com> writes:

[...]

>>> Backtrace:
>>> In srfi/srfi-1.scm:
>>>    592:29 19 (map1 (#<<service> type: #<service-type nscd 7f9e976…> …))
>>>    592:29 18 (map1 (#<<service> type: #<service-type guix 7f9e976…> …))
>>>    592:29 17 (map1 (#<<service> type: #<service-type urandom-seed…> …))
>>>    592:29 16 (map1 (#<<service> type: #<service-type syslog 7f9e9…> …))
>>>    592:29 15 (map1 (#<<service> type: #<service-type static-netwo…> …))
>>>    592:29 14 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>>    592:29 13 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>>    592:29 12 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>>    592:29 11 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>>    592:29 10 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>>    592:29  9 (map1 (#<<service> type: #<service-type mingetty 7f9…> …))
>>>    592:29  8 (map1 (#<<service> type: #<service-type agetty 7f9e9…> …))
>>>    592:29  7 (map1 (#<<service> type: #<service-type console-font…> …))
>>>    592:29  6 (map1 (#<<service> type: #<service-type virtual-term…> …))
>>>    592:29  5 (map1 (#<<service> type: #<service-type openssh 7f9e…> …))
>>>    592:29  4 (map1 (#<<service> type: #<service-type mysql 7f9e97…> …))
>>>    592:17  3 (map1 (#<<service> type: #<service-type ntp 7f9e9764…> …))
>>> In gnu/services/networking.scm:
>>>    393:37  2 (ntp-shepherd-service _)
>>> In srfi/srfi-1.scm:
>>>    592:17  1 (map1 ("10.1.1.1" "10.2.2.2"))
>>> In gnu/services/networking.scm:
>>>     340:2  0 (ntp-server->string _)
>>>
>>> gnu/services/networking.scm:340:2: In procedure ntp-server->string:
>>> Throw to key `match-error' with args `("match" "no matching pattern" "10.1.1.1")'.
>>>
>>> This is on commit e5efdbce21a0afcbb3e73cc7b59111ccf62cb532.
>>
>> I'll fix this ASAP.  Sorry for not seeing this earlier!
>
> Thanks!  I've been meaning to fix it myself, but y'know...

Eh eh, I hear you!  This is now fixed on master with commit
f37ad658eada78384764c7d6db3a7f3ad8ad283e.

Thank you!

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Nov 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 121 days ago.

Previous Next


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