samba-bugs at samba.org
2011-Nov-02 22:02 UTC
[Bug 8565] New: rsync hangs when using --only-write-batch and --hard-links
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: wayned at samba.org
ReportedBy: samba-bugzilla at cetim.ch
QAContact: rsync-qa at 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.
samba-bugs at samba.org
2012-Jan-28 20:07 UTC
[Bug 8565] rsync hangs when using --only-write-batch and --hard-links
https://bugzilla.samba.org/show_bug.cgi?id=8565
Wayne Davison <wayned at samba.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Wayne Davison <wayned at samba.org> 2012-01-28
20:07:49 UTC ---
I'm checking in a fix for this. Thanks for the report!
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2012-Mar-13 00:11 UTC
[Bug 8565] rsync hangs when using --only-write-batch and --hard-links
https://bugzilla.samba.org/show_bug.cgi?id=8565
Wayne Davison <wayned at samba.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |christian.heinlein at htw-aale
| |n.de
--- Comment #2 from Wayne Davison <wayned at samba.org> 2012-03-13
00:11:41 UTC ---
*** Bug 8804 has been marked as a duplicate of this bug. ***
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Maybe Matching Threads
- [Bug 8804] New: rsync -aH --only-write-batch hangs
- [Bug 8246] New: rsync hangs with --hard-links and unreadable files
- DO NOT REPLY [Bug 6927] New: Add a --fat option to ignore 1-second time diffs, ownership, hard links, symlinks, etc.
- plot & xlim/ylim & range of axis
- [Bug 8856] New: --hard-links does not handle hard-linked symlinks correctly on FreeBSD