From owner-freebsd-current@FreeBSD.ORG Tue Sep 28 01:33:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51B2916A4CF for ; Tue, 28 Sep 2004 01:33:36 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA74A43D2F for ; Tue, 28 Sep 2004 01:33:35 +0000 (GMT) (envelope-from juhasaarinen@gmail.com) Received: by mproxy.gmail.com with SMTP id 79so3249935rnk for ; Mon, 27 Sep 2004 18:33:31 -0700 (PDT) Received: by 10.38.163.77 with SMTP id l77mr678009rne; Mon, 27 Sep 2004 18:33:30 -0700 (PDT) Received: by 10.38.73.29 with HTTP; Mon, 27 Sep 2004 18:33:30 -0700 (PDT) Message-ID: Date: Tue, 28 Sep 2004 13:33:30 +1200 From: Juha Saarinen To: Doug Barton In-Reply-To: <20040925001835.U7126@URF.trarfvf> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1096042856.24267.6.camel@purgatory.ceribus.net> <20040924222550.F6548@URF.trarfvf> <1096064849.1047.7.camel@server.mcneil.com> <20040925001835.U7126@URF.trarfvf> cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= cc: freebsd-current@freebsd.org Subject: Re: Proper way to run bind9 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Juha Saarinen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 01:33:36 -0000 The PID file location for currently hardcoded to /var/run in the named binary. Is there a good reason for not changing that to /var/run/named/pid as the default on FreeBSD, instead of adjusting the location in both /etc/defaults/rc.conf and named.conf? This is error-prone, and easy to forget -- if you do, it means named won't start up as it cannot write the PID file to the default location. Second, shouldn't /etc/rc.d/named be rewritten to take rndc into account, and not use /etc/rc.subr? -- Juha