From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 23:38:58 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F4C51065670 for ; Wed, 3 Dec 2008 23:38:58 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id 903F48FC14 for ; Wed, 3 Dec 2008 23:38:57 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so3185494mue.3 for ; Wed, 03 Dec 2008 15:38:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=lvJn9gN7ydyARlNZMHGw0yRWuG6LfmOQps4P4IZXeHU=; b=Ouif5zNfoN8fPVpBL14w2S35zzYmmZLc2+WZSOs7iqfdV+qZ8cz9BF5b6fmne8YrOO Ie2v8vuchYgO74xV5rTNArCM99GQSq/IQhpqG5IFAJ50q/glBnHY6RuCS0BNFXd4Z4Pl ixVjqBwbCfyCbCE20TfHbuOOscb37HwSt1JQY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NK84AE5XZrc0jCFLBadcpsScUmo5N8gLKhvetv4VweSy4SLOMF5x6yvyFSi3pD/sY7 B2hr8O4+cDA4ZFuI648V58/VYZhSz+DiXmXjBWE5MsGuToFD3wZIcj5j9X/ceJzI/76X /ROcGF5hYeLJBpQ8ZOS2tTl24d8KQCsbpSfKs= Received: by 10.181.18.2 with SMTP id v2mr4816154bki.194.1228347536222; Wed, 03 Dec 2008 15:38:56 -0800 (PST) Received: by 10.180.240.16 with HTTP; Wed, 3 Dec 2008 15:38:56 -0800 (PST) Message-ID: <560f92640812031538r39615524ne8f2afdf8ae7d4e8@mail.gmail.com> Date: Wed, 3 Dec 2008 15:38:56 -0800 From: "Nerius Landys" To: "Chuck Swiger" In-Reply-To: <77BB50CF-73C4-4A11-9E78-A3FA69D2D890@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> <77BB50CF-73C4-4A11-9E78-A3FA69D2D890@mac.com> Cc: questions@freebsd.org Subject: Re: named and ntpd start order in rc.d 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: Wed, 03 Dec 2008 23:38:58 -0000 > When ntpd first starts up, it forks a child process to perform DNS > resolution of the timeservers listed in its config. If that fails, that > generally indicates that DNS was not working at the time, or something else > was going wrong with the network. > > [ See ntpd/ntp_config.c, search for fork() or "ntpd_initres". ] > > The fix is to make sure that you have a working network and resolver > available when you try to startup ntpd. Failing that, you can hardcode IP > addresses in /etc/ntp.conf, but that's a bad idea for anything outside of > timeservers which you control. > Thank you! That explains the problem. I had a hunch that the problem was along these lines.