From owner-cvs-src@FreeBSD.ORG Fri Aug 26 18:18:17 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E30016A41F; Fri, 26 Aug 2005 18:18:17 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E0443D48; Fri, 26 Aug 2005 18:18:16 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j7QIIG5r059546; Fri, 26 Aug 2005 11:18:16 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j7QIIFtN059545; Fri, 26 Aug 2005 11:18:15 -0700 (PDT) (envelope-from obrien) Date: Fri, 26 Aug 2005 11:18:15 -0700 From: "David O'Brien" To: John-Mark Gurney Message-ID: <20050826181815.GA56936@dragon.NUXI.org> References: <200508241721.j7OHLcNP061118@repoman.freebsd.org> <20050825060448.Q11335@fledge.watson.org> <20050825154354.GE30465@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050825154354.GE30465@funkthat.com> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: Pawel Jakub Dawidek , src-committers@FreeBSD.org, Robert Watson , cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/lib/libutil Makefile libutil.h pidfile.3 pidfile.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 18:18:17 -0000 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//.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. > why not add an rc.subr option to precreate the file with the correct > user? I was running up conserver, and I decided to run it as a seperate > user, and since I created it as owned by the conserver user, conserver > just opened and wrote to the file.. > just a thought... I like this thought better and feel its more along traditional ways. -- -- David (obrien@FreeBSD.org)