Comment 3 for bug 79870

Revision history for this message
Derrick Hudson (dman) wrote :

On Sat, Mar 26, 2005 at 04:14:43PM +0000, Brian Sutherland wrote:
|
| Brian Sutherland <email address hidden> added the comment:
|
| On Fri, Mar 25, 2005 at 02:48:35PM +0000, dman13 wrote:
| > I would call this a bug. Leaving the pidfile prevents schoolbell
| > from starting again. One of the three (debian) systems I
| > installed schoolbell on has a problem with "dying" every night.
| > It might be related to logrotate, but every morning I must delete
| > the pidfile before the init script will do anything.
|
| I can confirm that the schoolbell server sometimes does not restart but
| in my case it is a race condition in the initscript where the previous
| server has not exited before start-stop-daemon tries to start it again.

Ah, that sounds plausible. The problem machine is, I think, a bit
slower than the other aging system that doesn't exhibit this problem.
This makes further sense if the program start-stop-daemon calls
doesn't wait until the z3 process has fully shutdown.

| Would you mind testing the attached patch for /etc/init.d/schoolbell to
| see if it solves your problem as well?

I will try this! Thanks!

-D

--
\begin{humor}
Disclaimer:
If I receive a message from you, you are agreeing that:
   1. I am by definition, "the intended recipient"
   2. All information in the email is mine to do with as I see fit and make
        such financial profit, political mileage, or good joke as it lends
        itself to. In particular, I may quote it on USENET or the WWW.
   3. I may take the contents as representing the views of your company.
   4. This overrides any disclaimer or statement of confidentiality that may
        be included on your message
\end{humor}

www: http://dman13.dyndns.org/~dman/ jabber: <email address hidden>