From owner-cvs-src@FreeBSD.ORG Fri Aug 26 18:43:37 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 9B68C16A41F; Fri, 26 Aug 2005 18:43:37 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id C649D43D46; Fri, 26 Aug 2005 18:43:34 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id C7F5A52C93; Fri, 26 Aug 2005 20:43:27 +0200 (CEST) Received: from localhost (dln69.neoplus.adsl.tpnet.pl [83.24.43.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3217852BC1; Fri, 26 Aug 2005 20:43:12 +0200 (CEST) Date: Fri, 26 Aug 2005 20:42:40 +0200 From: Pawel Jakub Dawidek To: David O'Brien Message-ID: <20050826184240.GA49719@garage.freebsd.pl> References: <200508241721.j7OHLcNP061118@repoman.freebsd.org> <20050825060448.Q11335@fledge.watson.org> <20050825154354.GE30465@funkthat.com> <20050826181815.GA56936@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20050826181815.GA56936@dragon.NUXI.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng devel (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: cvs-src@FreeBSD.org, John-Mark Gurney , src-committers@FreeBSD.org, Robert Watson , cvs-all@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 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:43:37 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 26, 2005 at 11:18:15AM -0700, David O'Brien wrote: +> > 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 sepera= te +> > user, and since I created it as owned by the conserver user, conserver +> > just opened and wrote to the file.. +> > just a thought... +>=20 +> I like this thought better and feel its more along traditional ways. The problem is that you'll not be able to delete pidfile. This is not actually needed when daemon use pidfile(3), but could be problematic for other daemons. I'm also not sure I like the idea with directories owned not be the root in /var/run/ directory. This will be yet another place I need to remember not only root have write access to. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDD2KgForvXbEpPzQRAgEsAJ9dfPV84/OEWNkQW8GNohG23PaN5wCeJfLg cMp2mVhaEd9U3BJvx5pfbDM= =p9lK -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--