DO NOT REPLY [Bug 5074] New: Push to a daemon with --only-write-batch modifies dest and then hangs

samba-bugs at samba.org samba-bugs at samba.org
Sun Nov 11 22:08:30 GMT 2007


https://bugzilla.samba.org/show_bug.cgi?id=5074

           Summary: Push to a daemon with --only-write-batch modifies dest
                    and then hangs
           Product: rsync
           Version: 3.0.0
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: matt at mattmccutchen.net
         QAContact: rsync-qa at samba.org


Using the latest development rsync, if I push files to a daemon with
--only-write-batch, the daemon makes some of the changes to the destination and
then hangs.  The run should finish with no changes made to the destination.

To reproduce, run the following in an empty directory:

export PATH=/path/to/rsync/build/tree:$PATH
wget http://mattmccutchen.net/rsync/instant-daemon.sh
sh instant-daemon.sh module 3141 user
    (Choose a password and enter it twice)
mkdir upload
ln -s . upload/me
echo foo >upload/file
rsync -rl --only-write-batch=thebatch upload/
rsync://user@localhost:3141/module/
    (Enter the password)
    (When the process hangs, press ^C)
ls -la module
    (Note that the symlink was copied.)
./stop


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list