Date: Mon, 02 Jun 1997 11:12:13 -0700 From: Julian Elischer <julian@whistle.com> To: Peter Wemm <peter@spinner.dialix.com.au> Cc: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>, Adam David <adam@veda.is>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc Message-ID: <33930CFD.794BDF32@whistle.com> References: <199706021803.CAA27545@spinner.dialix.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm wrote: > Gated uses a flock() lock on it's pid file as the "lock", the existance of > the file does not imply that it's valid. So, things like gdc etc try and > do a conflicting lock request which should succeed if gated is not runni > ng, and should fail if it is there. But doing this for other daemons > requires code changes in each one. > I seem to remember old UUCP (syV) did an open in O_EXCL mode or something.. (you could always make a PIDfile that was a fifo..)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33930CFD.794BDF32>