refuse option = e
Alexey Vlasov
renton at 1gb.ru
Mon Aug 4 18:02:31 GMT 2008
Hi.
Upgrading 2.6 to 3 version in rsync daemon changed the "refuse option"
manner.
Namely,
rsyncd.conf
=========
pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes
secrets file = /etc/rsyncd.secrets
[common]
path = /common/
hosts allow = 10.0.0.0/16
auth users = rsync_common
refuse options = e
uid = 0
gid = 0
=========
$ rsync -v -a -u -z -S --delete-during --delete-excluded
rsync://rsync_common@MYHOST/common/ /localcommon/
receiving incremental file list
rsync: The server is configured to refuse --rsh (-e)
rsync error: requested action not supported (code 4) at
clientserver.c(842) [sender=3.0.2]
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(794)
[receiver=3.0.2]
Though it is written in MAN, that:
========
Using rsync in this way is the same as using it with a remote shell
except that:
o you must not specify the --rsh (-e) option.
========
--
BRGDS. Alexey Vlasov.
More information about the rsync
mailing list