Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2005 16:39:48 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        John Pettitt <jpp@cloudview.com>
Cc:        questions@freebsd.org
Subject:   Re: ntpd core dumping on 5.3-p5
Message-ID:  <20050318163948.2234be1e.wmoran@potentialtech.com>
In-Reply-To: <423B4339.9050207@cloudview.com>
References:  <20050318155457.62fec48a.wmoran@potentialtech.com> <423B4339.9050207@cloudview.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Pettitt <jpp@cloudview.com> wrote:
> 
> Bill Moran wrote:
> 
> >I'm experiencing a problem similar to the problem described in this thread:
> >http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/078139.html
> >
> >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
> >coredumps.
> >
> >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.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050318163948.2234be1e.wmoran>