DO NOT REPLY [Bug 5265] New: Daemon logging files not actually received with --only-write-batch

samba-bugs at samba-bugs at
Sat Feb 16 20:22:51 GMT 2008

           Summary: Daemon logging files not actually received with --only-
           Product: rsync
           Version: 3.0.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: matt at
         QAContact: rsync-qa at

If I push files to a daemon with --only-write-batch, the daemon logs the files
even though they are not actually received.  I thought daemons were supposed to
only log files they actually receive.

To reproduce this, run the following in an empty directory:

export PATH=/path/to/rsync/build/tree:$PATH
sh module 3141 user
    (Choose a password and enter it twice)
echo 'transfer logging = yes' >>rsyncd.conf
mkdir upload
echo data >upload/file
rsync -r --only-write-batch=thebatch upload/
    (Enter the password)
ls -la module          # No file...
grep recv rsyncd.log   # but a log entry!

Configure bugmail:
------- 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