I find myself in the same situation of the author of the thread
entitled "Arrrgh! rsync "chroot failed" error message!" See
http://tinyurl.com/o9kog or
http://groups.google.ca/group/comp.o...b8512e8f6c233a
..
I am trying to use rsync to synchronize some files between two systems.
I'm planning on doing this rather frequently, so it's my understanding
that I should use the rsync daemon mode, and using ssh is basically a
requirement as well.
My most recent successful step was to link the /etc/rsyncd.conf file to
$HOME for my remote user, and I'm now getting this error:
$ rsync --rsh="ssh" -av --delete test.txt
remoteHost::ModuleName/my/path
@ERROR: chroot failed
rsync error: error starting client-server protocol (code 5) at
main.c(1296) [sender=2.6.8]
Basically, what I want to know is this: In the thread above, the
response was basically, "If you want to use ssh, then don't use the
rsync daemon." That seems to be a common response on the web. Is it
true? Is there a sensible way to use both ssh and the rsync daemon?
As a related question, what is the additional overhead for NOT running
rsync in daemon mode?
Thanks.