code12 when using modules

Michael Rolli michael at rollis.ch
Mon Apr 28 20:48:46 EST 2003


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





More information about the rsync mailing list