continusync issue

Charles Polisher charles.polisher at
Fri Nov 16 21:22:46 GMT 2007

I am experimenting with Matt McCutchen's excellent continusync script,
and I'm having an issue. (My copy of continusync has been modified from
the original by adding this @ line 227: 


as suggested by Matt.) 

The problem is easily reproduced:

  # mkdir ~/foo
  # continusync ~/foo root at remotehost:~/foo &
  # vi ~/foo/bar.txt

This generates an immediate exit from continusync with the following 3

"rsync: link_stat "/root/foo/.bar.txt.swx" failed: No such file or
directory (2)
 rsync error: some files could not be transferred (code 23) at
 [1]+ Broken pipe   continusync    ~/foo root at remotehost:~/foo"

This is using slackware 11, on which vi is a link to vim version 7.0.
By strace'ing vi I can see that it rapidly creates then destroys the

I suspect there may be a race in continusync somewhere, but I
haven't been successful at narrowing it down. I am using rsync v2.6.9,
latest stable version.

Can anyone help me to troubleshoot this issue?


More information about the rsync mailing list