Subject: bin/30745: ntp dies on IPv4-only kernels
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 07/14/2005 03:02:00
>Number:         30745
>Category:       bin
>Synopsis:       ntp dies on IPv4-only kernels
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 14 03:02:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
System: NetBSD setting-sun.duskware.de 3.99.7 NetBSD 3.99.7 (SETTINGSUN) #0: Thu Jul 14 04:26:38 CEST 2005 martin@night-porter.duskware.de:/usr/src/sys/arch/sparc64/compile/SETTINGSUN sparc64
Architecture: sparc64
Machine: sparc64
>Description:

When upgrading a machine to 3.0_BETA or -current, ntpd might stop working.
If you have a time server in your /etc/ntp.conf that has a IPv6 address,
like the former public server at ntp.univ-lyon1.fr:

ntp.univ-lyon1.fr is an alias for dns.univ-lyon1.fr.
dns.univ-lyon1.fr has address 134.214.100.6
ntp.univ-lyon1.fr is an alias for dns.univ-lyon1.fr.
dns.univ-lyon1.fr has IPv6 address 2001:660:5001:100::6
ntp.univ-lyon1.fr is an alias for dns.univ-lyon1.fr.

and you are running a IPv4 only kernel, ntpd logs:

sendto(2001:660:5001:100::6): Address family not supported by protocol family

and dies!

I'm sure this is part of the conspiracy to force everyone into IPv6 - but
please start pushing ISPs first instead of users.

>How-To-Repeat:
s/a

>Fix:
get an IPv6 address and a real kernel ;-)

>Unformatted:
 Same happens on 3.0_BETA.