Re: Really, ...
Salvo Tomaselli <email@example.com> writes:
> Just opened a bug about the issue, since many daemons use start-stop-
> daemon, fixing it there would solve many race conditions.
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694980
You can't call waitpid on processes that aren't your children.
start-stop-daemon already supports waiting for processes to exit when
stopping them. See the --retry option.
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>