unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37504: "legacy" NTP configuration fallback fails
@ 2019-09-24 16:01 Marius Bakke
  2019-10-31 16:03 ` T460s laptop
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2019-09-24 16:01 UTC (permalink / raw)
  To: 37504

[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37504: "legacy" NTP configuration fallback fails
  2019-09-24 16:01 bug#37504: "legacy" NTP configuration fallback fails Marius Bakke
@ 2019-10-31 16:03 ` T460s laptop
  2019-10-31 23:42   ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: T460s laptop @ 2019-10-31 16:03 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 37504

Hello Marius,

Marius Bakke <mbakke@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37504: "legacy" NTP configuration fallback fails
  2019-10-31 16:03 ` T460s laptop
@ 2019-10-31 23:42   ` Marius Bakke
  2019-11-01  4:04     ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2019-10-31 23:42 UTC (permalink / raw)
  To: T460s laptop; +Cc: 37504

[-- Attachment #1: Type: text/plain, Size: 2353 bytes --]

T460s laptop <maxim.cournoyer@gmail.com> writes:

> Hello Marius,
>
> Marius Bakke <mbakke@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...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37504: "legacy" NTP configuration fallback fails
  2019-10-31 23:42   ` Marius Bakke
@ 2019-11-01  4:04     ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2019-11-01  4:04 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 37504-done

Hello Marius,

Marius Bakke <mbakke@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-01  4:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-24 16:01 bug#37504: "legacy" NTP configuration fallback fails Marius Bakke
2019-10-31 16:03 ` T460s laptop
2019-10-31 23:42   ` Marius Bakke
2019-11-01  4:04     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).