Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 13:44:40 +0100
From:      Doug Barton <DougB@DougBarton.net>
To:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/bind config.mk
Message-ID:  <4152C538.3020908@DougBarton.net>
In-Reply-To: <xzpk6ul4bp3.fsf@dwp.des.no>
References:  <200409230446.i8N4kujW001411@repoman.freebsd.org> <xzpk6ul4bp3.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> Doug Barton <dougb@FreeBSD.org> writes:
> 
>>  Log:
>>  LOCALSTATEDIR should be /var, since the BIND 9 source appends
>>  things like "run/named.pid" to it.
> 
> 
> Hmm...
> 
> ./bin/named/config.c:#  pid-file \"" NS_LOCALSTATEDIR "/named.pid\"; /* or /lwresd.pid */\n\

Understood, but the full path is built later. Also, this is based on
extensive experience with the bind9 port, and actually starting up named
and seeing it try to dump a pid file in /var/run/run/ :)

Doug

-- 

	If you're never wrong, you're not trying hard enough



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4152C538.3020908>