https://bugzilla.samba.org/show_bug.cgi?id=8565
Summary: rsync hangs when using --only-write-batch and --hard-links Product: rsync Version: 3.1.0 Platform: x64 OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: way...@samba.org ReportedBy: samba-bugzi...@cetim.ch QAContact: rsync...@samba.org rsync (sometimes) hangs when trying to build a batch file containing hardlinked files. Here's a way to reproduce the problem: mkdir new; cd new; mkdir a; mkdir a/b; mkdir c; touch a/b/1; ln a/b/1 c/2; cd ..; rsync --only-write-batch=batch_file -a -H --delete new/ old/ Expected result: rsync exits normally (leaving behind a well-formed batch_file) or at least exits with an error Actual result: rsync hangs indefinitely, causing any script which called it to wait on it forever I confirmed the issue with the sources in http://rsync.samba.org/ftp/rsync/nightly/rsync-HEAD-20111022-1730GMT.tar.gz but 3.0.9 was already affected. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html