The Samba-Bugzilla – Bug 4998
[PATCH] rsync returns from fork before a valid pidfile is created
Last modified: 2007-09-30 21:30:42 UTC
Which causes issues with Gentoo's new boot system as it expects a pidfile to be created in a second or two of the daemon forking.
Created attachment 2933 [details]
create the pidfile sooner
Not a perfect patch, but it's the least intrusive and makes the error window much smaller. Ideally, the parent should write the pidfile though.
The version is CVS now creates the pid-file more rapidly in the startup sequence.