Last version of rsync in cooker seems broken. 

1. the --whole-file flag is now claimed invalid

2. I am unable to connect with rsyncd servers with it. With no change in 
configuration i have since the update the following error messages when 
trying to rsync :

rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c(151)

my rsync command was :

# BUG in rsync ? --whole-file claimed invalid 
#rsync_flags=" --whole-file --delete --delete-excluded --force --archive 
--links --recursive --relative --owner --perms --times --group 
--password-file=/root/.rsync.secrets"
rsync_flags=" --delete --delete-excluded --force --archive --links 
--recursive --relative --owner --perms --times --group 
--password-file=/xxxx/.rsync.secrets"
savedir="$home/pascal/"
/usr/bin/rsync $rsync_flags --exclude=/var/cache remhost::pascal/linux 
$savedir

my server rsyncd.conf is :

uid = root
gid = root
use chroot = no
max connections = 1
syslog facility = debug
pid file = /etc/rsyncd.pid

[pascal]
       path = /home/pascal
       comment = pascal home dir
       auth users = root
       secrets file = /xxxxx/rsyncd.secrets
       read only = yes
       list = no
       hosts allow = lochost.mydomain.fr
~                                      
I revert to LM8.1 CDROM version to correct the problem.                       
                  
~      


Reply via email to