The Samba-Bugzilla – Bug 5265
Daemon logging files not actually received with --only-write-batch
Last modified: 2008-07-26 10:29:53 UTC
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:
sh instant-daemon.sh module 3141 user
(Choose a password and enter it twice)
echo 'transfer logging = yes' >>rsyncd.conf
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!
I changed the message from FINFO to FCLIENT, so this is now fixed in the dev version.