ntpd does not support ipv6

Bug #305043 reported by Matt LaPlante
18
Affects Status Importance Assigned to Milestone
ntp (Debian)
Fix Released
Unknown
ntp (Ubuntu)
Fix Released
Undecided
Unassigned
Intrepid
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ntp

The ntp daemon is apparently not being built with IPv6 support, despite the fact that the /etc/ntp.conf it ships with contains IPv6 configurations.

The default configuration includes:
# By default, exchange time with everybody, but don't allow configuration.
...
restrict -6 default kod notrap nomodify nopeer noquery

# Local users may interrogate the ntp server more closely.
...
restrict ::1

However when starting the daemon, the latter triggers the following error:
 3 Dec 23:55:28 ntpd[5215]: getaddrinfo: "::1" invalid host address, ignored

Related branches

Revision history for this message
Matt LaPlante (cybrmatt) wrote :

This is apparently another instance of glibc 2.8 breakage. See also #249824. Solution is again to define _GNU_SOURCE, though I'm not sure the best place to accomplish that.

Revision history for this message
Matt LaPlante (cybrmatt) wrote :

Think I've gotten it. Debdiff is attached. New build for testing is in my PPA.

deb http://ppa.launchpad.net/cybrmatt/ubuntu intrepid main
deb-src http://ppa.launchpad.net/cybrmatt/ubuntu intrepid main

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ntp - 1:4.2.4p4+dfsg-7ubuntu2

---------------
ntp (1:4.2.4p4+dfsg-7ubuntu2) jaunty; urgency=low

  * Add ipv6-gnu-source.patch: Define _GNU_SOURCE to make IPv6 work.
    (LP: #305043)

 -- Matt LaPlante <email address hidden> Thu, 04 Dec 2008 00:39:51 -0600

Changed in ntp:
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Sponsored to intrepid-proposed.

Changed in ntp:
assignee: nobody → pitti
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in ntp:
status: In Progress → Fix Committed
Martin Pitt (pitti)
Changed in ntp:
assignee: pitti → nobody
Revision history for this message
Matt LaPlante (cybrmatt) wrote :

intrepid-proposed LGTM

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 305043] Re: ntpd does not support ipv6

Matt LaPlante [2008-12-19 22:06 -0000]:
> intrepid-proposed LGTM

LGTM?

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Looks Good To Me (I guess)

Revision history for this message
Matt LaPlante (cybrmatt) wrote :

Yes, Looks Good To Me.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ntp - 1:4.2.4p4+dfsg-6ubuntu2.1

---------------
ntp (1:4.2.4p4+dfsg-6ubuntu2.1) intrepid-proposed; urgency=low

  * Add ipv6-gnu-source.patch: Define _GNU_SOURCE to make IPv6 work.
    (LP: #305043)

 -- Matt LaPlante <email address hidden> Tue, 09 Dec 2008 10:29:30 -0800

Changed in ntp:
status: Fix Committed → Fix Released
Changed in ntp:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.