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

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


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

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


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
wget http://mattmccutchen.net/rsync/instant-daemon.sh
sh instant-daemon.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/
rsync://user@localhost:3141/module/
    (Enter the password)
ls -la module          # No file...
grep recv rsyncd.log   # but a log entry!


-- 
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