From owner-freebsd-stable@FreeBSD.ORG Sun Dec 19 00:11:53 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 993EB106566B; Sun, 19 Dec 2010 00:11:53 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 7CA558FC15; Sun, 19 Dec 2010 00:11:53 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [17.153.98.123] by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0LDN00DMNF5UZ480@asmtp030.mac.com>; Sat, 18 Dec 2010 16:10:47 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1012180140 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-12-18_02:2010-12-18, 2010-12-18, 1970-01-01 signatures=0 From: Chuck Swiger In-reply-to: <4D0D48B3.7000104@FreeBSD.org> Date: Sat, 18 Dec 2010 16:10:42 -0800 Message-id: <2E952F5B-15EB-483C-BAAD-8AAD1EC1BB7D@mac.com> 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> To: Doug Barton X-Mailer: Apple Mail (2.1082) 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:11:53 -0000 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. > What you've got there is the named default, whether from ports or the base, doesn't matter. Yes, that seems to be right. > I always suggest that people start from the default named.conf, and add and subtract accordingly, preferably with include directives to make life easier. Look at pid-file in the options section in particular. :) It's different from the default due to hysterical raisins, which I'm sort of loathe to change now. 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. 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. :-) Regards, -- -Chuck