Re: Really, ...
Salvo Tomaselli <firstname.lastname@example.org> 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 (email@example.com) <http://www.eyrie.org/~eagle/>