axkibe/lsyncd — Issue #42: lsyncd 2.0 crash
Author: axkibe
Created: 2011-11-16 15:02:32+00:00
State: open
Labels: Priority-Medium, Type-Defect

Originally filed by jus...@techadvise.com on 2011-01-17T21:56:29

Imagine a setup of workstation A, lsyncd server B, and lsyncd target C.

What steps will reproduce the problem?
1. On workstation A, `rsync -avz some-dir B:/path/lsyncd/watches/`
2. rsync creates a bunch of hidden temporary files on B, which triggers inotify.
3. Crazyness ensues, ending with:
xargs: illegal option -- 0
xargs: Usage: xargs: [-t] [-p] [-e[eofstr]] [-E eofstr] [-I replstr] [-i[replstr]] [-L #] [-l[#]] [-n # [-x]] [-s size] [cmd [args ...]]
Mon Jan 17 15:43:44 2011 Error: Critical exitcode.
xargs: illegal option -- 0
xargs: Usage: xargs: [-t] [-p] [-e[eofstr]] [-E eofstr] [-I replstr] [-i[replstr]] [-L #] [-l[#]] [-n # [-x]] [-s size] [cmd [args ...]]

What is the expected output? What do you see instead?
Server should handle this gracefully.

What version of the product are you using? On what operating system?
2.0.1