Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 01:04:47 -0800
From:      Eugene Lee <eugene@anime.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /var/run/named.pid annoyance
Message-ID:  <20010312010447.A21036@anime.net>
In-Reply-To: <20010312021324.D78116@northernbrewer.com>; from chris@northernbrewer.com on Mon, Mar 12, 2001 at 02:13:25AM -0600
References:  <20010311230428.B18069@anime.net> <20010312021324.D78116@northernbrewer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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