From owner-freebsd-questions Mon Mar 12 1: 3:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from anime.net (anime.net [63.172.78.150]) by hub.freebsd.org (Postfix) with ESMTP id 29AD737B718 for ; Mon, 12 Mar 2001 01:03:09 -0800 (PST) (envelope-from eugene@anime.net) Received: (from eugene@localhost) by anime.net (8.9.3/8.9.3) id BAA21634 for freebsd-questions@FreeBSD.ORG; Mon, 12 Mar 2001 01:04:47 -0800 Date: Mon, 12 Mar 2001 01:04:47 -0800 From: Eugene Lee To: freebsd-questions@FreeBSD.ORG Subject: Re: /var/run/named.pid annoyance Message-ID: <20010312010447.A21036@anime.net> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20010311230428.B18069@anime.net> <20010312021324.D78116@northernbrewer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010312021324.D78116@northernbrewer.com>; from chris@northernbrewer.com on Mon, Mar 12, 2001 at 02:13:25AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 12, 2001 at 02:13:25AM -0600, Christopher Farley wrote: : : Eugene Lee (eugene@anime.net) wrote: : > Mar 12 00:48:47 localhost named[119]: couldn't create pid file '/var/run/named.pid' [...] : > What would be the most secure way to solve this problem? : : This is a permissions problem. User bind does not have permissions to : write files to /var/run. : : The desired workaround is to change the PID file location by adding : this to the "options" section of your /etc/namedb/named.conf file: [rest of solution snipped] Thanks for the tip. I knew it was a permissions thing. And I thought about creating some kind of "daemon" group and changing /var/run, etc. appropriately. But I guess that would just get more messy than setting up a directory for each daemon. -- Eugene Lee eugene@anime.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message