misc/116722: ntpd core dumps if hostnames are not specifed with "-4" option

Remko Lodder remko at FreeBSD.org
Sat Sep 29 01:40:08 PDT 2007


The following reply was made to PR bin/116722; it has been noted by GNATS.

From: Remko Lodder <remko at FreeBSD.org>
To: Warren Block <wblock at wonkity.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: misc/116722: ntpd core dumps if hostnames are not specifed with
 "-4" option
Date: Sat, 29 Sep 2007 10:31:39 +0200

 > 
 > # bad /etc/ntp.conf
 > server wonkity.com
 > 
 > This causes ntpd to core dump on startup:
 > 
 > speedy kernel: pid 1276 (ntpd), uid 0: exited on signal 11 (core dumped)
 > 
 > 
 > ntpd starts and runs normally if an IP address is used or if hostnames are preceded with the poorly-documented "-4" option:
 > 
 > # good /etc/ntp.conf
 > server 10.0.0.1
 > server -4 wonkity.com
 >> Fix:
 > Workaround: when running ntpd on clients with only IPv4, use IP addresses or precede hostnames with "-4" in /etc/ntp.conf.
 > 
 
 Hello, can you do some debugging on the core dump? This might tell us
 what is going on more specifically.
 
 Thanks,
 remko
 
 -- 
 Kind regards,
 
      Remko Lodder               ** remko at elvandar.org
      FreeBSD                    ** remko at FreeBSD.org
 
      /* Quis custodiet ipsos custodes */


More information about the freebsd-bugs mailing list