Package: ntp-server
Version: 1:4.2.0a+stable-8
Severity: important

ntpd segfaults when using specific servers, e.g. chime5.surfnet.nl.  I
suspect that it is caused by some ipv6 problem.

chime5.surfnet.nl has both an ipv4 and ipv6 address:
[EMAIL PROTECTED]> host chime5.surfnet.nl
chime5.surfnet.nl has address 194.171.167.130
chime5.surfnet.nl has IPv6 address 2001:610:1:400a:194:171:167:130

My machine doesn't have an ipv6 link, but it does have ipv6 support in
the kernel (as a module actually, but it is automatically loaded by
ifupdown or something).
The problem disappears if I manually put the ipv4 address in /etc/hosts

An strace of ntpd shows that it connect to my DNS and get the address
of chime5.surfnet.nl, and tries to connect over ipv6.
After that, ntpd reads /etc/services a few times and segfaults. (full
strace log is attached)


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-ac6
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages ntp-server depends on:
ii  ntp                    1:4.2.0a+stable-8 Network Time Protocol: network uti
ii  ntp-simple             1:4.2.0a+stable-8 Network Time Protocol: daemon for 

-- no debconf information

Attachment: ntp.trace.gz
Description: Binary data

Reply via email to