Comment 1 for bug 1037738

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: race condition in init script

Ah, I think you meant if-up.d script not the "init" script.

Agreed, the l ast 3 lines are:

# We'd like to use 'reload' here, but it has some problems; see #502444.
stop ssh || true
start ssh || true

502444 is a debian bug # btw.

I think we need to serialize access to this section of the script with an flock o only one thing does this at a time.