From owner-freebsd-stable@FreeBSD.ORG Sun Dec 19 00:24:41 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE2401065670 for ; Sun, 19 Dec 2010 00:24:41 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 569D68FC0A for ; Sun, 19 Dec 2010 00:24:41 +0000 (UTC) Received: (qmail 24419 invoked by uid 399); 19 Dec 2010 00:24:40 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Dec 2010 00:24:40 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4D0D50C7.5050905@FreeBSD.org> Date: Sat, 18 Dec 2010 16:24:39 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101210 Thunderbird/3.1.7 MIME-Version: 1.0 To: Chuck Swiger References: <4D0C49A2.4000203@FreeBSD.org> <699B0DD9-A3E0-4508-8AAD-E493EF6DB3D9@mac.com> <4D0D41C9.8060807@FreeBSD.org> <04FBEACB-765E-4EC0-8FAE-3ED26E190773@mac.com> <4D0D48B3.7000104@FreeBSD.org> <2E952F5B-15EB-483C-BAAD-8AAD1EC1BB7D@mac.com> In-Reply-To: <2E952F5B-15EB-483C-BAAD-8AAD1EC1BB7D@mac.com> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: /etc/rc.d/named stop (Was: Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2010 00:24:41 -0000 On 12/18/2010 16:10, Chuck Swiger wrote: > On Dec 18, 2010, at 3:50 PM, Doug Barton wrote: >> On 12/18/2010 15:41, Chuck Swiger wrote: >>> /usr/local/sbin/named from ports seems to be using a >>> /var/named/var/run/named/named.pid file instead. >> >> You're not using the default named.conf file then. > > Nope. Nothing wrong with that. :) > It would be handy if named grew an option flag to control the pidfile > location, so that the rc.d script could be sure that it is looking at > the appropriate place. Yes, I have that on my list, but haven't gotten enough round 'tuits. OTOH: grep named_pidfile /etc/defaults/rc.conf named_pidfile="/var/run/named/pid" # Must set this in named.conf as well > Failing that, however, I find it a bit surprising that I'd need to > override some compiled-in default location in the config to make > things work, when I'm not changing the defaults myself and named is > being chroot'ed under a filesystem tree which the rc.d script is free > to adjust as it needs to for things to align without symlink > duct-tape. :-) The symlink is necessary because of the way the named chroot works. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/