Re: New library: libpidfile.
From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 08/24/05
- Previous message: Yar Tikhiy: "Re: New library: libpidfile."
- In reply to: Yar Tikhiy: "Re: New library: libpidfile."
- Next in thread: Yar Tikhiy: "Re: New library: libpidfile."
- Reply: Yar Tikhiy: "Re: New library: libpidfile."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Aug 2005 19:14:37 +0200 To: Yar Tikhiy <yar@comp.chem.msu.su>
On Wed, Aug 24, 2005 at 05:45:40PM +0400, Yar Tikhiy wrote:
+> > /me just checked NetBSD and OpenBSD's code at:
+> > http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libutil/pidfile.c?rev=1.7&content-type=text/x-cvsweb-markup
+> > http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libutil/pidfile.c?rev=1.7&content-type=text/x-cvsweb-markup
+> >
+> > Neither, of these are safe to prevent multiple daemons from starting
+> > up at the same time... Both NetBSD and OpenBSD doesn't even check if
+> > a daemon is running.. it just blindly splats the pid into the file..
+>
+> Of course, giving advices is much easier than doing the real work,
+> but I dare suggest cooperation with NetBSD and OpenBSD on this issue
+> so that eventually we have a good and compatible implementation of
+> the pidfile API in *BSD. I believe that the NetBSD and OpenBSD
+> folks won't take offence if approached with a well-grounded explanation
+> of why their current pidfile functions suck.
They are of course free to adpot pidfile(3) and I'll gladly provide
all needed explanations if they'll ask me.
-- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
- application/pgp-signature attachment: stored
- Previous message: Yar Tikhiy: "Re: New library: libpidfile."
- In reply to: Yar Tikhiy: "Re: New library: libpidfile."
- Next in thread: Yar Tikhiy: "Re: New library: libpidfile."
- Reply: Yar Tikhiy: "Re: New library: libpidfile."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: OpenBSD 3.6 on AMD64
... And they are, other then the annoyance of chgrp, chown forcing me to ... >
keeping all the machines in sync. ... At the time I switched from netbsd to openbsd
in April ... (comp.unix.bsd.openbsd.misc) - Re: New library: libpidfile.
... of these are safe to prevent multiple daemons from starting ... but I dare suggest
cooperation with NetBSD and OpenBSD on this issue ... of why their current pidfile
functions suck. ... (freebsd-arch) - Re: I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than ot
... >> It seems NetBSD and OpenBSD continue to include ... >>
piece that FreeBSD does retain as other BSDs have it. ... Please look at the history of
the BSDs. ... (freebsd-questions) - Re: sendfile(2) SF_NOPUSH flag proposal
... If someone will eventually implement on NetBSD, OpenBSD or Darwin/MacOS X ...
sendfilehe should be ready that he needs to port its source. ... (freebsd-arch) - Re: A Newbie Nix Question
... FreeBSD has ACLs...but I don't remember seeing them on BSD ... It's a bit slower
than NetBSD or FreeBSD... ... > So is OpenBSD - sprong of NetBSD. ...
No, the point was that if the guy was new in Unix world, he should ... (alt.os.linux)