Package: rsync
Version: 3.0.2-2
Followup-For: Bug #479805

I have used the same rsync lines for at least a year against my remote
website pages (hosted by an ISP, I don't have admin rights).

$ rsync  -e 'ssh' -avHz \
    -f "protect /www/mines" -f "protect /www/static" \
        -r --delete ./www \
    '[EMAIL PROTECTED]:./mcprogramming.com/'

When I upgraded to 3.0.2-2, it suddenly began failing (see
rsync-3.xscript attachment).  At first I thought it was an issue with
all the my new ssh keys, but all my ssh/scp/sftp worked flawlessly.
Eventually I noticed that an rsync WOULD work from my school's machines
which were running an older rsync (see mint.mines.edu.log attachment).

I copied mint's rsync to my local machines /usr/bin/rsync-2.6.9-protocol-29
and now everything works with my ISP again:

$ rsync-2.6.9-protocol-29  -e 'ssh' -avHz \
    -f "protect /www/mines" -f "protect /www/static" \
        -r --delete ./www
    '[EMAIL PROTECTED]:./mcprogramming.com/'
...
sent 212212 bytes  received 2400 bytes  33017.23 bytes/sec
total size is 539353547  speedup is 2513.16

I've tried using --protocol=29 with rsync 3.0.2-2, but I got the same
results.

I suspect this needs to be pushed upstream, if you need more info (logs,
pcap files, whatever) I'm happy to furnish more info.

Cheers,

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages rsync depends on:
ii  base-files                    4.0.3      Debian base system miscellaneous f
ii  libacl1                       2.2.45-1   Access control list shared library
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libpopt0                      1.10-3     lib for parsing cmdline parameters
ii  lsb-base                      3.2-11     Linux Standard Base 3.2 init scrip

rsync recommends no packages.

-- no debconf information
mkdir -p www
copy_dest=$(pwd)/www ; \
        ( cd ../website && make COPY_DEST=${copy_dest} copy )
make[1]: Entering directory `/home/khellman/sbox/website'
test -n "/home/khellman/sbox/luxsci/www" && cp -lf mcprogramming.html 
resume-pointer.doc public_keys.lis khellman-resume.pdf khellman-cv.pdf 
index.html /home/khellman/sbox/luxsci/www
make[1]: Leaving directory `/home/khellman/sbox/website'
rm -rf www/adaleigh
mkdir -p www/adaleigh
copy_dest=$(pwd)/www/adaleigh ; \
        ( cd /home/khellman/Camera/AdaleighRose/pout && cp -rlL 
/home/khellman/Camera/AdaleighRose/pout/* ${copy_dest} )
#find ./www/adaleigh -name '*.JPG' -o -name '*.mpg' -o -name '*.jpg' |xargs rm
mkdir -p $(dirname www/adaleigh/.htaccess)
echo -n > www/adaleigh/.htaccess
echo AuthType Basic >> www/adaleigh/.htaccess
echo AuthName \"Adaleigh Rose Pictures\" >> www/adaleigh/.htaccess
echo AuthUserFile 
/xd1/homes/hash/67/a2667/64/14/u31464/mcprogramming.com/adaleigh-access >> 
www/adaleigh/.htaccess
echo Require valid-user >> www/adaleigh/.htaccess
mkdir -p www
#( cd ../mypim && make calendar ) && cp ../mypim/calendar www/calendar
find ./www -type f -exec chmod 644 \{\} \;
find ./www -type d -exec chmod 755 \{\} \;
chmod -R 644 ./adaleigh-access
rsync -v -v -v  -e 'ssh' -avHz -f "protect /www/mines" -f "protect /www/static" 
-r --delete ./www '[EMAIL PROTECTED]:./mcprogramming.com/'
[client] add_rule(-r /www/mines)
[client] add_rule(-r /www/static)
cmd=ssh machine=ftp-5.luxsci.com user=khellman#mcprogramming.com 
path=./mcprogramming.com/
cmd[0]=ssh cmd[1]=-l cmd[2]=khellman#mcprogramming.com cmd[3]=ftp-5.luxsci.com 
cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvlHogDtprze.iL cmd[7]=--delete cmd[8]=. 
cmd[9]=./mcprogramming.com/ 
opening connection using: ssh -l "khellman#mcprogramming.com" ftp-5.luxsci.com 
rsync --server -vvvvlHogDtprze.iL --delete . ./mcprogramming.com/ 
note: iconv_open("ISO-8859-15", "ISO-8859-15") succeeded.
_exit_cleanup(code=12, file=io.c, line=635): entered
_exit_cleanup(code=12, file=io.c, line=635): about to call exit(12)
Linux mint 2.6.20-16-generic #2 SMP Tue Feb 12 02:11:24 UTC 2008 x86_64

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Last login: Sat May 24 12:24:00 2008 from alamode.mines.edu
dpkg -l |~$ dpkg -l |
~$ dpkg -l rsync 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                   Version                Description
+++-======================-======================-============================================================
ii  rsync                  2.6.9-3ubuntu1.2       fast remote file copy program 
(like rcp)
~$

Reply via email to