Date: Sat, 18 Dec 2010 15:41:07 -0800 From: Chuck Swiger <cswiger@mac.com> To: Doug Barton <dougb@FreeBSD.org> 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) Message-ID: <04FBEACB-765E-4EC0-8FAE-3ED26E190773@mac.com> In-Reply-To: <4D0D41C9.8060807@FreeBSD.org> References: <4D0C49A2.4000203@FreeBSD.org> <699B0DD9-A3E0-4508-8AAD-E493EF6DB3D9@mac.com> <4D0D41C9.8060807@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04FBEACB-765E-4EC0-8FAE-3ED26E190773>