From owner-cvs-all@FreeBSD.ORG Thu Aug 25 05:05:49 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C067716A41F; Thu, 25 Aug 2005 05:05:49 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B1CA43D48; Thu, 25 Aug 2005 05:05:49 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id C01A046BD8; Thu, 25 Aug 2005 01:05:48 -0400 (EDT) Date: Thu, 25 Aug 2005 06:05:48 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Pawel Jakub Dawidek In-Reply-To: <200508241721.j7OHLcNP061118@repoman.freebsd.org> Message-ID: <20050825060448.Q11335@fledge.watson.org> References: <200508241721.j7OHLcNP061118@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libutil Makefile libutil.h pidfile.3 pidfile.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2005 05:05:49 -0000 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. Robert N M Watson