cvs commit: src/lib/libutil Makefile libutil.h pidfile.3 pidfile.c

Brian Fundakowski Feldman green at FreeBSD.org
Sat Aug 27 04:48:39 GMT 2005


On Fri, Aug 26, 2005 at 11:18:15AM -0700, David O'Brien wrote:
> On Thu, Aug 25, 2005 at 08:43:54AM -0700, John-Mark Gurney wrote:
> > Robert Watson wrote this message on Thu, Aug 25, 2005 at 06:05 +0100:
> > > On Wed, 24 Aug 2005, Pawel Jakub Dawidek wrote:
> > > 
> > > >pjd         2005-08-24 17:21:38 UTC
> > > >
> > > > FreeBSD src repository
> > > >
> > > > Modified files:
> > > >   lib/libutil          Makefile libutil.h
> > > > Added files:
> > > >   lib/libutil          pidfile.3 pidfile.c
> > > > Log:
> > > > Add a family of functions for reliable pidfiles handling.
> > > >
> > > > Idea from:      jmg
> > > > Discussed on:   arch@
> > > 
> > > Something I'd very much like to see is for daemon pid files to start being 
> > > placed in /var/run/<daemon>/<daemon>.pid, as opposed to directly in 
> > > /var/run.  This will allow us to set specific ownership on the parent 
> > > directory for a pid file, so that privilege is not required to write out a 
> > > pid file in a safe place.
> 
> Yuck!  Directory hell to find information.

Yeah, at least make it /var/run/<daemon>/pid or something :-(

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


More information about the cvs-src mailing list