Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 1997 20:27:58 +0800
From:      Peter Wemm <peter@spinner.dialix.com.au>
To:        =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/net/gated/patches patch-aa 
Message-ID:  <199706021227.UAA24133@spinner.dialix.com.au>
In-Reply-To: Your message of "Mon, 02 Jun 1997 14:50:11 %2B0400." <Pine.BSF.3.96.970602144418.809A-100000@nagual.pp.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= wrote:
> On Mon, 2 Jun 1997, Peter Wemm wrote:
> 
> > peter       1997/06/02 03:34:25 PDT
> > 
> >   Modified files:
> >     net/gated/patches    patch-aa 
> >   Log:
> >   put the pid file in /var/db rather than /var/run since gated uses it
> >   more of a database than a runtime file.  It does it's own locking on the
> >   assumption that it won't be removed on boot.  It's also saved from the
> >   common 'rm -f /var/run/*' on boot (which on freebsd used to happen AFTER
> >   gated was started, which upset a lot of things).
> 
> You can remove this commit, I just back out my recent /var/run/*.pid
> cleaning since some applications (namely gated and innd and what else?)
> treat .pid files as crash detect indicator.

Nah, this was on my todo list for some time.  Somebody suggested it to me
months ago (it might have been Bruce, or perhaps Jordan or Satoshi), back
when /var/run was being entirely cleaned at boot - as it should IMHO.  If
something wants the file to stay around, it should't store it there.

Cheers,
-Peter





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