Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 20:42:40 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        David O'Brien <obrien@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, John-Mark Gurney <gurney_j@resnet.uoregon.edu>, src-committers@FreeBSD.org, Robert Watson <rwatson@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libutil Makefile libutil.h pidfile.3 pidfile.c
Message-ID:  <20050826184240.GA49719@garage.freebsd.pl>
In-Reply-To: <20050826181815.GA56936@dragon.NUXI.org>
References:  <200508241721.j7OHLcNP061118@repoman.freebsd.org> <20050825060448.Q11335@fledge.watson.org> <20050825154354.GE30465@funkthat.com> <20050826181815.GA56936@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050826184240.GA49719>