From owner-freebsd-current Fri Oct 5 2:19:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.cicely.de (ppp74.uni-duisburg.de [134.91.19.74]) by hub.freebsd.org (Postfix) with ESMTP id 926AE37B401 for ; Fri, 5 Oct 2001 02:19:51 -0700 (PDT) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f959IIq06926; Fri, 5 Oct 2001 11:18:18 +0200 (CEST) Date: Fri, 5 Oct 2001 11:18:18 +0200 From: Bernd Walter To: cjclark@alum.mit.edu Cc: Bernd Walter , Leif Neland , Jun Kuriyama , freebsd-current@FreeBSD.ORG Subject: Re: named pid file in /var/run/named/pid? Message-ID: <20011005111817.G3918@cicely20.cicely.de> References: <7md743mtp2.wl@waterblue.imgsrc.co.jp> <20011004181305.B57424-100000@arnold.neland.dk> <20011004131915.C297@blossom.cjclark.org> <20011005000302.F3918@cicely20.cicely.de> <20011004153335.J297@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011004153335.J297@blossom.cjclark.org>; from cristjc@earthlink.net on Thu, Oct 04, 2001 at 03:33:35PM -0700 X-Operating-System: NetBSD cicely20.cicely.de 1.5 sparc Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 04, 2001 at 03:33:35PM -0700, Crist J. Clark wrote: > On Fri, Oct 05, 2001 at 12:03:02AM +0200, Bernd Walter wrote: > [snip] > > > > It is not that big of a deal to hack this support for named into the > > > rc scripts. It is a hassle when considering the "correct" way to > > > handle this to make it extensible to other daemons we may wish to run > > > in such a manner. > > > > The question is what is the correct way. > > It happens I've just been hacking around in /etc/rc where the clean-up > of /var/run is done, and someone else mentioned mtree(8) in this > thread (but in a different context). I think it would be easy enough > to run mtree(8) right after /var/run is cleaned (and long after it would > be mounted as an md(4)) to get it into good form. The problem reduces > to maintaining the map file for this purpose. It's fine for the base system but what about ports? They don't have an mtree entry but share /var/run. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message