Hi
I updated my rsync to 2.5.6. Since then, any modules actions don't work
anymore.
rsync -ravvvn --stats --progress rollis.ch::mymodule
ends up in
opening tcp connection to rollis.ch port 873
receiving file list ...
rsync: connection unexpectedly closed (28 bytes read so far)
_exit_cleanup(code=12, file=io.c, line=165): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
_exit_cleanup(code=12, file=io.c, line=165): about to call exit(12)
The same connection over ssh: rsync -ravvvn --rsh="ssh -l me" --stats
--progress rollis.ch::mymodule
ends up in
rsync: connection unexpectedly closed (12 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
Using the path type (:) instead of module (::) all works well.
My rsyncd.conf seems good so far:
<rsyncd.conf>
gid = 65534
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
log format = %h %t %o %m %f %l %b
transfer logging = true
use chroot = false
[mymodule]
path = /home/mymodule
comment = mymodule
exclude = temp/
read only = yes
transfer logging = true
</rsyncd.conf>
Any help on this? BTW it's a SuSE Linux 7.3 Box.
Thanks
Michael
Hi
I tested further and recompiled 2.5.6 and tested with 2.5.7-HEAD each
with -with-included-popt
Now, my situation is as follows:
Direct access:
rsync -ravn --stats --progress rollis.ch::mymodule
...works great
rsync -ravn --stats --progress rollis.ch:/path/to/mymodule
myhost: Connection refused
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at
io.c(165)
Over ssh:
rsync -ravn --rsh="ssh -l michael" --stats --progress
rollis.ch::mymodule
rsync: connection unexpectedly closed (12 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at
io.c(165)
rsync -ravn --rsh="ssh -l michael" --stats --progress
rollis.ch:/path/to/mymodule
...works great
Any help on this? Acutally it would be nice if I could use the modules
style for both, with and without --rsh.
Thanks
Michael
My rsyncd.conf
<rsyncd.conf>
gid = 65534
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
log format = %h %t %o %m %f %l %b
transfer logging = true
use chroot = false
[mymodule]
path = /home/mymodule
comment = mymodule
exclude = temp/
read only = yes
transfer logging = true
</rsyncd.conf>
Apparently Analagous Threads
- nested modules and autoloading
- @ERROR: access denied / using rsync 2.5.6 over SSH on Solaris
- Custom ruby modules/classes, standard namespacing, pluginsync, etc.
- Class parameter flexibility with ENC, hiera or both
- [LLVMdev] Argument's types mismatch when creating CallInst.