From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 18:19:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 370B01065672 for ; Mon, 23 Apr 2012 18:19:41 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from nk11p00mm-asmtp003.mac.com (nk11p00mm-asmtp003.mac.com [17.158.161.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0E68FC15 for ; Mon, 23 Apr 2012 18:19:41 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com (unknown [17.209.4.71]) by nk11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0M2Y00IAW2WFDR60@nk11p00mm-asmtp003.mac.com> for freebsd-questions@freebsd.org; Mon, 23 Apr 2012 18:19:35 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7580,1.0.260,0.0.0000 definitions=2012-04-23_06:2012-04-23, 2012-04-23, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1204230180 From: Chuck Swiger In-reply-to: <15eb19d114c2b3d3b0469bc2f9fbdb33@www.dweimer.net> Date: Mon, 23 Apr 2012 11:19:27 -0700 Message-id: References: <15eb19d114c2b3d3b0469bc2f9fbdb33@www.dweimer.net> To: dweimer@dweimer.net X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: ntpd problems after port updates X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 18:19:41 -0000 On Apr 23, 2012, at 11:13 AM, Dean E. Weimer wrote: > I am running NTPD built from ports on system that has had world rebuilt without ntp. After doing some port updates this morning to the latest OpenSSL which caused ntp to rebuild as its built against the OpenSSL port. ntpd now core dumps at start, in order to attempt and resolve the issue I tried starting ntpd with the -d switch added, at which point it loads fine without any problems. If you run 'ldd /usr/local/bin/ntpd', that might be informative. > Only option checked when doing make config on the port is the with OpenSSL option. Consider not doing this-- OpenSSL has a much worse security history than ntpd itself does. In particular, the ASN.1 parser is infamous for trouble, such as CVE-2012-2110. > if I execute: /usr/local/bin/ntpd -p /var/run/ntpd.pid > The result is a signal 11 core dump. Run gdb against ntpd and the coredump you've gotten to see the crash backtrace. Or run ntpd under gdb. Regards, -- -Chuck