Date: Sat, 18 Dec 2010 16:24:39 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Chuck Swiger <cswiger@mac.com> 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: <4D0D50C7.5050905@FreeBSD.org> In-Reply-To: <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> <2E952F5B-15EB-483C-BAAD-8AAD1EC1BB7D@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D0D50C7.5050905>