From owner-freebsd-bugs Tue Oct 17 2: 0: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D264F37B4F9 for ; Tue, 17 Oct 2000 02:00:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA96493; Tue, 17 Oct 2000 02:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 17 Oct 2000 02:00:03 -0700 (PDT) Message-Id: <200010170900.CAA96493@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: conf/22038: Default location of named.pid file assumes named is running as root Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR conf/22038; it has been noted by GNATS. From: David Malone To: david@mu.org Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: conf/22038: Default location of named.pid file assumes named is running as root Date: Tue, 17 Oct 2000 09:59:51 +0100 On Mon, Oct 16, 2000 at 09:17:12PM -0700, david@mu.org wrote: [Your message containted some very long lines, so I wrapped them] > Default location for named's pid file is /var/run, which is owned > by root. This conflicts with named when it is launched with -u > bind. Named is able to create /var/run/named.pid at startup, but > generates an error upon "ndc reload": According to the docs you can tell named where to put it's pid file by adding: pid-file "/var/run/named/named.pid"; to the "options" section of the config file. Changig the default location of the PID file is a bad idea as it will break lots of local scripts people have written. Is this option OK for what you want? (Bind docs are in /usr/src/contrib/bind/doc/) David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message