cvs commit: src/lib/libutil Makefile libutil.h pidfile.3
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Aug 26 18:43:37 GMT 2005
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 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.
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.
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050826/222c6810/attachment.bin
More information about the cvs-src