rsync hanging at "generate_files phase=1"

Giuliano Gavazzi dev+lists at humph.com
Fri Mar 21 12:53:11 GMT 2008


On 21 Mar, 2008, at 11:45 , Daniel Maher wrote:
> --rsync-path="/usr/bin/sudo /usr/bin/rsync"
> --log-file=/opt/rsync-backup/rsync-backup.log
> --backup-dir=/opt/rsync-backup/192.168.0.88/2008-03-21T09:51:42 -e
> "/usr/bin/ssh -i /home/rsync-backup/.ssh/id_rsa"
> rsync-backup at 192.168.0.88:"/cygdrive/d/BACKUP" /opt/rsync-backup/ 
> 192.168.0.88/CURRENT/

interesting. So presumably you give rsync-backup the option to run  
only rsync without a password. Double security. ssh key for logging in  
as rsync-backup and sudo restriction in place. Correct? Of course one  
that gets hold of the key, could run rsync as root, overwrite rsync  
and then rerun that rsync to do what he pleases.

I wonder though if you really have to specity the ssh. ssh should be  
by default and the key is the default key. Well, this protects you  
from changes in either rsync defaults or ssh global configuration.

I Wonder too if you will get one or two, given the recent  
discussion... should be one, if the list software looks at the To:.

Giuliano


More information about the rsync mailing list