Comment 3 for bug 702579

Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 702579] Re: RPM init.d script sometimes lies

On 01/17/2011 01:37 PM, BJ Dierkes wrote:
> Unfortunately looking for a pid file immediately after startup of
> drizzled is not sufficient. The pid_file is created early in startup...
> it might be a few seconds before drizzled detects a failure... therefore
> leading the init script to think things started properly... but again
> being misleading.
>
> What seems to be required is a '--daemonize' option to drizzled... so
> that we can no longer rely on '&', and properly get the return of
> drizzled on startup.
>
> See: https://launchpad.net/bugs/565053
>

What if we just waited to create the PID file?