From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020314 Description of problem: Transfers using the rsync:// protocol disregard the --rsh=prog option, and they warn so. However, this option also causes a hard error at the end of the transfer. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1./usr/bin/rsync -r rsync://distro.ibiblio.org/redhat/rawhide/RedHat/ RedHat/ # will transfer only an empty directory, no worries 2./usr/bin/rsync -e ssh -r rsync://distro.ibiblio.org/redhat/rawhide/RedHat/ RedHat/ # error 3./usr/bin/rsync --rsh ssh -r rsync://distro.ibiblio.org/redhat/rawhide/RedHat/ RedHat/ # error Actual Results: 1.Successful transfer of an empty RPMS directory. Exit status is 0. 2 and 3: WARNING: --rsh or -e option ignored when connecting to rsync daemon [...] rsync error: partial transfer (code 23) at main.c(893) Exit status is non-zero. Oops. Expected Results: The warning is appropriate, indeed, but the hard error is not. Additional info:
Fixed in 2.5.4-2 - thanks!
Bill, I have your patch, it will be merged in upstream 2.5.6.