From owner-freebsd-hackers Mon May 27 12:38: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 47CFA37B407 for ; Mon, 27 May 2002 12:38:03 -0700 (PDT) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.4.Beta0/8.12.4.Beta0) with ESMTP id g4RJc1r7001988 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 27 May 2002 12:38:01 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.4.Beta0/8.12.4.Beta0/Submit) id g4RJc1jj001985; Mon, 27 May 2002 12:38:01 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15602.35609.352674.838016@horsey.gshapiro.net> Date: Mon, 27 May 2002 12:38:01 -0700 From: Gregory Neil Shapiro To: pjklist@ekahuna.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: non-root /var/run files (was Re: Sendmail, smmsp, and pid file) In-Reply-To: <20020527185439041.AAA472@empty1.ekahuna.com@pc02.ekahuna.com> References: <20020527081026.B29438@zardoc.esmtp.org> <20020527185439041.AAA472@empty1.ekahuna.com@pc02.ekahuna.com> X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG pjklist> Funny thing about that, I actually created a /var/run/named directory pjklist> for just the purpose of running named in a 'sandbox', chowned the pjklist> directory bind:bind, and because I forgot to set the pid file path in pjklist> named.conf, I see that it seems to write named.pid (owned by pjklist> bind:bind) into /var/run without a problem. For named, the initial creation isn't the problem, it's the reloads and restarts: # ndc reload Reload initiated. # tail -2 /var/log/messages May 27 12:36:35 horsey named[142]: couldn't create pid file '/var/run/named.pid' May 27 12:36:35 horsey named[142]: Ready to answer queries. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message