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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


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://[EMAIL PROTECTED]: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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to