ntpd core dumping on 5.3-p5
wmoran at potentialtech.com
Fri Mar 18 13:39:50 PST 2005
John Pettitt <jpp at cloudview.com> wrote:
> Bill Moran wrote:
> >I'm experiencing a problem similar to the problem described in this thread:
> >My ntp.conf contains:
> >server clock.psu.edu
> >server fuzz.psc.edu prefer
> >server ntp-1.ece.cmu.edu prefer
> >server ntp-2.ece.cmu.edu prefer
> >If I comment out the first two servers, ntpd works fine. Otherwise, I get
> >It seems a little extreme to me that any server could remotely cause ntpd
> >to core. I'm willing to look in to this, but I'm having trouble figuring
> >out how to get ntp built with debugging symbols.
> >FreeBSD bolivia.potentialtech.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Thu Feb 24 08:26:07 UTC 2005 root@:/usr/obj/usr/src/sys/WORKING i386
> you can only have one preferred server.
First off: Where did you get that tidbit. I don't think it's accurate.
It says nothing about it in the man page for ntp.conf, and it works
fine on previous version of ntpd.
Secondly, and more important, it doesn't help anyway.
* If I remove all the "prefer" and try to start ntpd, it still coredumps.
* If I set only one "prefer", it still coredumps.
* If I comment out the first two servers, but set the remaining two _both_
to "prefer", it runs fine.
Thirdly, even if it were illegal to have multiple "prefer" directives, the
program still should not coredump because of an invalid config file.
So, we come badk to my original statement:
After additional testing, it still seems as if the first two servers on this
list are coredumping ntpd.
More information about the freebsd-questions