[ntp:bugs] [Bug 794] ntpd creates pidfile too late after forking
Roy Marples via the NTP Bugzilla
bugzilla at ntp.isc.org
Tue Apr 3 23:28:09 PDT 2007
http://bugs.ntp.isc.org/794
----------------------------------------------------------------------------
Additional Comments From uberlord at gentoo.org (Roy Marples)
Submitted on 2007-04-04 06:28
what I meant was - would you prefer a patch that removes the daemon function so
we write the pidfile in the parent pid just after forking, which solves the race
OR write the parent pid to the pidfile before the daemon call as well which also
solves the race.
I'm happy to cut another patch, just asking which way of working it would be
preferable? At this point I'm personally favoring removing the daemon function
as it's not supported on all platforms, so should make the code slightly more
readable anyway.
--
Roy Marples <uberlord at gentoo.org>
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the bugs
mailing list