[Bug 143] Add reference to "rsync" in FAQ and documentation.

Damien Miller djm at mindrot.org
Thu Apr 18 22:53:50 EST 2002


On 18 Apr 2002, Sturle Sunde wrote:

> Yuliy Minchev <yuliy at mobiltel.bg> writes:
> 
> > rsync -av -e ssh /home/joe/stuff joeuser at joe.com:/home/joeuser/stuff
> 
> There is a bug if you depend on ssh-rand-helper and possibly external
> programs to collect random data:
> 
>   [sturles at hpsan]~ $ rsync -ave ssh file sturle at anotherhost:/tmp/file
>   Couldn't wait for child 'ls -alni /var/log' completion: No child processes
>   Couldn't wait for child 'ls -alni /var/adm' completion: No child processes
>   [... for all commands in /etc/ssh/ssh_prng_cmds ...]
>   Not enough entropy in RNG
>   ssh-rand-helper child produced insufficient data
>   unexpected EOF in read_timeout
> 
> The reason for this is of course that rsync ignores SIGCHLD, and ssh
> inherits this.
> 
> Here is a patch against 3.1p2 that fixes the problem.  I hope it
> doesn't break anything else..:

That looks sane - thanks.

-d




More information about the openssh-unix-dev mailing list