From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 1 16:50:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5B3DCDEF for ; Wed, 1 May 2013 16:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 4061A18B1 for ; Wed, 1 May 2013 16:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r41Go2KF068606 for ; Wed, 1 May 2013 16:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r41Go2ZZ068605; Wed, 1 May 2013 16:50:02 GMT (envelope-from gnats) Resent-Date: Wed, 1 May 2013 16:50:02 GMT Resent-Message-Id: <201305011650.r41Go2ZZ068605@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Wollman Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 39592C43 for ; Wed, 1 May 2013 16:41:09 +0000 (UTC) (envelope-from wollman@xyz.csail.mit.edu) Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [IPv6:2001:470:8b2d:1e1c:21b:21ff:feb8:d7b0]) by mx1.freebsd.org (Postfix) with ESMTP id 14010183C for ; Wed, 1 May 2013 16:41:08 +0000 (UTC) Received: from xyz.csail.mit.edu (xyz.csail.mit.edu [128.31.0.28]) by khavrinen.csail.mit.edu (8.14.5/8.14.5) with ESMTP id r41Gf6ZV027466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO CN= issuer=) for ; Wed, 1 May 2013 12:41:06 -0400 (EDT) (envelope-from wollman@xyz.csail.mit.edu) Received: (from root@localhost) by xyz.csail.mit.edu (8.14.5/8.14.5/Submit) id r41Gf6nv032653; Wed, 1 May 2013 12:41:06 -0400 (EDT) (envelope-from wollman) Message-Id: <201305011641.r41Gf6nv032653@xyz.csail.mit.edu> Date: Wed, 1 May 2013 12:41:06 -0400 (EDT) From: Garrett Wollman To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/178282: ports ntpd dies immediately on startup X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2013 16:50:02 -0000 >Number: 178282 >Category: ports >Synopsis: ports ntpd dies immediately on startup >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 01 16:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 9.1-RELEASE-p2 amd64 >Organization: MIT Computer Science & Artificial Intelligence Laboratory >Environment: System: FreeBSD xyz.csail.mit.edu 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #27 r250065M: Mon Apr 29 17:11:15 EDT 2013 wollman@xyz.csail.mit.edu:/usr/obj/usr/src/sys/CSAIL amd64 The same problem is observed with both net/ntp (ntp-4.2.6p5_2) and net/ntp-dev. Build options: OPTIONS_FILE_UNSET+=ACTS OPTIONS_FILE_UNSET+=ARBITER OPTIONS_FILE_UNSET+=ARCRON_MSF OPTIONS_FILE_UNSET+=AS2201 OPTIONS_FILE_SET+=ATOM OPTIONS_FILE_UNSET+=AUDIO_CHU OPTIONS_FILE_UNSET+=BANCOMM OPTIONS_FILE_UNSET+=CHRONOLOG OPTIONS_FILE_UNSET+=CHU OPTIONS_FILE_UNSET+=COMPUTIME OPTIONS_FILE_UNSET+=DATUM OPTIONS_FILE_UNSET+=DCF7000 OPTIONS_FILE_UNSET+=DUMBCLOCK OPTIONS_FILE_UNSET+=FG OPTIONS_FILE_UNSET+=GPSVME OPTIONS_FILE_UNSET+=HEATH OPTIONS_FILE_UNSET+=HOPF6021 OPTIONS_FILE_UNSET+=HOPFPCI OPTIONS_FILE_UNSET+=HOPFSERIAL OPTIONS_FILE_UNSET+=HPGPS OPTIONS_FILE_SET+=IPV6 OPTIONS_FILE_UNSET+=IRIG OPTIONS_FILE_UNSET+=JJY OPTIONS_FILE_UNSET+=JUPITER OPTIONS_FILE_UNSET+=LEITCH OPTIONS_FILE_UNSET+=LOCAL_CLOCK OPTIONS_FILE_UNSET+=MEINBERG OPTIONS_FILE_UNSET+=MX4200 OPTIONS_FILE_UNSET+=NEOCLOCK4X OPTIONS_FILE_UNSET+=NMEA OPTIONS_FILE_UNSET+=NTPSNMPD OPTIONS_FILE_UNSET+=NTP_SIGND OPTIONS_FILE_SET+=ONCORE OPTIONS_FILE_SET+=PALISADE OPTIONS_FILE_UNSET+=PCF OPTIONS_FILE_UNSET+=PST OPTIONS_FILE_UNSET+=RAWDCF OPTIONS_FILE_UNSET+=RCC8000 OPTIONS_FILE_UNSET+=RIPENCC OPTIONS_FILE_UNSET+=SCHMID OPTIONS_FILE_UNSET+=SHM OPTIONS_FILE_UNSET+=SPECTRACOM OPTIONS_FILE_SET+=SSL OPTIONS_FILE_SET+=TRIMTAIP OPTIONS_FILE_SET+=TRIMTSIP OPTIONS_FILE_SET+=TRUETIME OPTIONS_FILE_UNSET+=ULINK OPTIONS_FILE_UNSET+=VARITEXT OPTIONS_FILE_UNSET+=WHARTON OPTIONS_FILE_UNSET+=WWV OPTIONS_FILE_UNSET+=ZYFER Configuration file: # This file is managed by Puppet -- DO NOT EDIT # NTP configuration file for xyz.csail.mit.edu # driftfile /var/db/ntpd.drift # # Access controls for client-only NTP # restrict default ignore # Allow network managers to do anything restrict [XXX] restrict [XXX] restrict [XXX] restrict [XXX] restrict [XXX] restrict [XXX] restrict [XXX] restrict [XXX] restrict [XXX] # Allow our configured servers to give us time but not change our config restrict ntp-0.csail.mit.edu nomodify nopeer notrap restrict ntp-1.csail.mit.edu nomodify nopeer notrap restrict ntp-2.csail.mit.edu nomodify nopeer notrap restrict ntp-3.csail.mit.edu nomodify nopeer notrap # Allow localhost to do anything restrict 127.0.0.1 restrict -6 ::1 server ntp-0.csail.mit.edu server ntp-1.csail.mit.edu server ntp-2.csail.mit.edu server ntp-3.csail.mit.edu >Description: ntpd dumps core almost immediately on startup. >How-To-Repeat: # /etc/rc.d/ntpd start Starting ntpd. # sleep 1 # ntpq -p ntpq: read: Connection refused >Fix: Adding "-n" to the command line and manually backgrounding ntpd appears to make it work. (This also frustrated my attempts to run it under the debugger.) >Release-Note: >Audit-Trail: >Unformatted: