On Tue, 13 Jan 2004 20:47:30 -0800, Wayne Davison <[EMAIL PROTECTED]> wrote: > On Tue, Jan 13, 2004 at 10:38:23PM -0600, John Van Essen wrote: >> Are you by any chance doing internal rsyncs? > > No. What remote shell are you using? If it doesn't propagate the exit > code from the sender (i.e. the process on the other side of the > connection), that may explain why the receiver is not getting the error.
I'm using an ssh trigger that runs a bash script. The script does some sanity check on the rsync command that was passed to it, runs the command, logs the exit code and returns it. But as I was preparing an excerpt to show to you, I see that I have a bug that will always log and return an exit code of zero. Urk. OK. So that might explain the non-daemon situation. I'll fix this and watch for a real-world vanished file situation again. But as I mentioned, it also happens with a daemon (that does not use ssh or any intermediate script). Output from a daemon sync: -----------------------------------8<----------------------------------- receiving file list ... done games/ [ snip ] games/thesims2/sims2pix5.txt games/thesims2/sims2pix5.zip file has vanished: "/games/thesims2/sims2pix5l.zip" (in {module_name}) games/ufoaftermath/Thirdparty/modtools_library.txt Number of files: 12623 Number of files transferred: 14 Total file size: 130885395706 bytes Total transferred file size: 166321305 bytes Literal data: 14286705 bytes Matched data: 152034600 bytes File list size: 235178 Total bytes written: 89446 Total bytes read: 14572386 wrote 89446 bytes read 14572386 bytes 73863.13 bytes/sec total size is 130885395706 speedup is 8926.95 -----------------------------------8<----------------------------------- The corresponding rsyncd.log entries: 2004/01/06 03:35:12 [11925] rsyncd version 2.6.0 starting, listening on port 873 [ snip ] 2004/01/06 08:53:42 [20656] send hostname [ipaddress] {module_name} () games/thesims2/sims2pix5.txt 48 92 16 2004/01/06 08:53:47 [20656] send hostname [ipaddress] {module_name} () games/thesims2/sims2pix5.zip 4123819 4124363 16 2004/01/06 08:53:47 [20656] send hostname [ipaddress] {module_name} () games/ufoaftermath/Thirdparty/modtools_library.txt 176 220 22 2004/01/06 08:53:47 [20656] wrote 14572386 bytes read 89446 bytes total size 130885395706 There is no error indication in the log, either of the vanished file or that a non-zero exit code was returned to the client. -- John Van Essen Univ of MN Alumnus <[EMAIL PROTECTED]> -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html