From owner-freebsd-stable@FreeBSD.ORG Sat Dec 18 23:41:33 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 40D631065672; Sat, 18 Dec 2010 23:41:33 +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 26F238FC17; Sat, 18 Dec 2010 23:41:32 +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 <0LDN00DSIDSJ2M70@asmtp030.mac.com>; Sat, 18 Dec 2010 15:41:09 -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-1012180134 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: <4D0D41C9.8060807@FreeBSD.org> Date: Sat, 18 Dec 2010 15:41:07 -0800 Message-id: <04FBEACB-765E-4EC0-8FAE-3ED26E190773@mac.com> References: <4D0C49A2.4000203@FreeBSD.org> <699B0DD9-A3E0-4508-8AAD-E493EF6DB3D9@mac.com> <4D0D41C9.8060807@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: Sat, 18 Dec 2010 23:41:33 -0000 On Dec 18, 2010, at 3:20 PM, Doug Barton wrote: > If you start named with the rc.d script it should do that for you. > > ll /var/run/named/pid > lrwxr-xr-x 1 root bind 28 Dec 18 13:52 /var/run/named/pid@ -> /var/named/var/run/named/pid > > Make sure you don't have named_symlink_enable=NO somewhere, for example in /etc/rc.conf.local. OK, I have the symlink: # ll /var/run/named/pid lrwxr-xr-x 1 root bind 28 Dec 18 17:27 /var/run/named/pid@ -> /var/named/var/run/named/pid ...and I also have a stale /var/named/var/run/named/pid file; /usr/local/sbin/named from ports seems to be using a /var/named/var/run/named/named.pid file instead. I'm using default launch args (which end up being "/usr/local/sbin/named -t /var/named -u bind") and not changing the default pidfile location in the named.conf AFAICT. Tweaking the links seems to make rc.d script work as expected, so that was helpful, thanks. Regards, -- -Chuck