From owner-freebsd-questions@FreeBSD.ORG Fri Mar 18 21:39:50 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E06E16A4CE for ; Fri, 18 Mar 2005 21:39:50 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1538543D5F for ; Fri, 18 Mar 2005 21:39:50 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from localhost (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id 5C75569A40; Fri, 18 Mar 2005 16:39:49 -0500 (EST) Date: Fri, 18 Mar 2005 16:39:48 -0500 From: Bill Moran To: John Pettitt Message-Id: <20050318163948.2234be1e.wmoran@potentialtech.com> In-Reply-To: <423B4339.9050207@cloudview.com> References: <20050318155457.62fec48a.wmoran@potentialtech.com> <423B4339.9050207@cloudview.com> Organization: Potential Technologies X-Mailer: Sylpheed version 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: ntpd core dumping on 5.3-p5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 21:39:50 -0000 John Pettitt 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