Default ntp service configuration not working on IPv6 network

  • Done
  • quality assurance status badge
Details
3 participants
  • Guillaume Le Vaillant
  • Leo Famulari
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Guillaume Le Vaillant
Severity
normal
G
G
Guillaume Le Vaillant wrote on 10 Jun 2024 10:30
(address . bug-guix@gnu.org)
87ikyhfbdj.fsf@kitej
On an IPv6-only network, the default configuration for ntp-service-type
doesn't work, because the default pool used (<0.guix.pool.ntp.org>)
doesn't have IPv6 addresses.

In fact, the <1.guix.pool.ntp.org> and <3.guix.pool.ntp.org> pools don't
have IPv6 addresses either. Only the <2.guix.pool.ntp.org> pool works
with IPv6.

Would it be possible to add IPv6 support to pools 0, 1 and 3?
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZma5qA8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j+DoAD/YjUvwa5uM72l0rl5ND+w8HypLsMCgHynoOUV
w/jBzyEA/1dEHUjt1l1wIOTz0Gs4SBYxZZroK67DZSaKQCC4T4CK
=3NIH
-----END PGP SIGNATURE-----

L
L
Leo Famulari wrote on 18 Jun 2024 01:18
(name . Guillaume Le Vaillant)(address . glv@posteo.net)(address . 71462@debbugs.gnu.org)
ZnDEPLI2vC9ssbwI@jasmine.lan
On Mon, Jun 10, 2024 at 08:30:32AM +0000, Guillaume Le Vaillant wrote:
Toggle quote (10 lines)
> On an IPv6-only network, the default configuration for ntp-service-type
> doesn't work, because the default pool used (<0.guix.pool.ntp.org>)
> doesn't have IPv6 addresses.
>
> In fact, the <1.guix.pool.ntp.org> and <3.guix.pool.ntp.org> pools don't
> have IPv6 addresses either. Only the <2.guix.pool.ntp.org> pool works
> with IPv6.
>
> Would it be possible to add IPv6 support to pools 0, 1 and 3?

It's not something that we, as Guix, can do.

The NTP pool is run by a separate organization, and the question of
which DNS names should return AAAA (IPv6) records is open:


However, the reason they give us 4 different addresses is so that we can
spread the load around. Our NTP services should choose randomly at
run-time. Or we could just make number 2 the default, and then we'll
have IPv6 support. Or something more complicated...
G
G
Guillaume Le Vaillant wrote on 18 Jun 2024 10:21
(name . Leo Famulari)(address . leo@famulari.name)(address . 71462@debbugs.gnu.org)
8734pay82o.fsf@kitej
Leo Famulari <leo@famulari.name> skribis:

Toggle quote (23 lines)
> On Mon, Jun 10, 2024 at 08:30:32AM +0000, Guillaume Le Vaillant wrote:
>> On an IPv6-only network, the default configuration for ntp-service-type
>> doesn't work, because the default pool used (<0.guix.pool.ntp.org>)
>> doesn't have IPv6 addresses.
>>
>> In fact, the <1.guix.pool.ntp.org> and <3.guix.pool.ntp.org> pools don't
>> have IPv6 addresses either. Only the <2.guix.pool.ntp.org> pool works
>> with IPv6.
>>
>> Would it be possible to add IPv6 support to pools 0, 1 and 3?
>
> It's not something that we, as Guix, can do.
>
> The NTP pool is run by a separate organization, and the question of
> which DNS names should return AAAA (IPv6) records is open:
>
> https://community.ntppool.org/t/the-time-has-come-we-must-enable-ipv6-entirely/1968
>
> However, the reason they give us 4 different addresses is so that we can
> spread the load around. Our NTP services should choose randomly at
> run-time. Or we could just make number 2 the default, and then we'll
> have IPv6 support. Or something more complicated...

Thanks for the info. I'm now using pool 2 as the default on my IPv6-only
machines, and it works well.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZnFDnw8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j9ddwEAlXCc8TwfewLf0/FJZV0AdUsOpNjjLodIH9YW
hhdGasUBAISQgliFHEzScAl5J/74xMAc4km/h15Pr5nRrxFLLyWn
=cqVE
-----END PGP SIGNATURE-----

M
M
Maxim Cournoyer wrote on 19 Oct 2024 14:51
(name . Guillaume Le Vaillant)(address . glv@posteo.net)
87y12kcl29.fsf@gmail.com
Hi Guillaume,

Guillaume Le Vaillant <glv@posteo.net> writes:

Toggle quote (28 lines)
> Leo Famulari <leo@famulari.name> skribis:
>
>> On Mon, Jun 10, 2024 at 08:30:32AM +0000, Guillaume Le Vaillant wrote:
>>> On an IPv6-only network, the default configuration for ntp-service-type
>>> doesn't work, because the default pool used (<0.guix.pool.ntp.org>)
>>> doesn't have IPv6 addresses.
>>>
>>> In fact, the <1.guix.pool.ntp.org> and <3.guix.pool.ntp.org> pools don't
>>> have IPv6 addresses either. Only the <2.guix.pool.ntp.org> pool works
>>> with IPv6.
>>>
>>> Would it be possible to add IPv6 support to pools 0, 1 and 3?
>>
>> It's not something that we, as Guix, can do.
>>
>> The NTP pool is run by a separate organization, and the question of
>> which DNS names should return AAAA (IPv6) records is open:
>>
>> https://community.ntppool.org/t/the-time-has-come-we-must-enable-ipv6-entirely/1968
>>
>> However, the reason they give us 4 different addresses is so that we can
>> spread the load around. Our NTP services should choose randomly at
>> run-time. Or we could just make number 2 the default, and then we'll
>> have IPv6 support. Or something more complicated...
>
> Thanks for the info. I'm now using pool 2 as the default on my IPv6-only
> machines, and it works well.

I've now made pool 2 our default configuration address, in commit
503919fcf0 ("services: ntp: Default to an address that supports IPv6.").

Closing.

--
Thanks,
Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 71462@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 71462
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch