Rsync lock-up

Carson Gaspar carson at taltos.org
Thu Jun 19 06:58:48 EST 2003



--On Wednesday, June 18, 2003 09:40:22 -0400 Michael Kohne 
<mhkohne at discordia.org> wrote:

> Finally figured the problem out. It turns out that our daemon wasn't
> clearing the signal mask before execing the child. Rsync seems to use some
> signals for the various processes to communicate with each other, and the
> non-default signal mask was blocking one or more signals that rsync needed
> to complete it's shutdown. Who knows what other things wouldn't have
> worked right for the same reason...

If rsync relies on signal delivery, rsync _must_ unblock those signals in 
addition to setting the signal handler. Assuming your initial signal state 
is a _very_ bad idea.

-- 
Carson




More information about the rsync mailing list