[Bug 11189] New: dry run gives incomplete log

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 11189] New: dry run gives incomplete log

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11189

            Bug ID: 11189
           Summary: dry run gives incomplete log
           Product: rsync
           Version: 3.0.9
          Hardware: x64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

Created attachment 10930
  --> https://bugzilla.samba.org/attachment.cgi?id=10930&action=edit
a simple script and the files it produces

The log file created during a dry run doesn't list all the operations that an
actual run will perform.

Dry run logs this :
2015/04/01 22:12:53 [3944] building file list
2015/04/01 22:12:53 [3944] cd+++++++++ subDirCreate/
2015/04/01 22:12:53 [3944] sent 200 bytes  received 26 bytes  452.00 bytes/sec
2015/04/01 22:12:53 [3944] total size is 95  speedup is 0.42 (DRY RUN)

While actual run does and logs this :
2015/04/01 22:12:53 [3947] building file list
2015/04/01 22:12:53 [3947] *deleting   subDirDelete/needsdelete2.txt
2015/04/01 22:12:53 [3947] *deleting   subDirDelete/
2015/04/01 22:12:53 [3947] cd+++++++++ subDirCreate/
2015/04/01 22:12:53 [3947] >f+++++++++ subDirCreate/needscreate2.txt
2015/04/01 22:12:53 [3947] *deleting   subDirUpdate/needsdelete1.txt
2015/04/01 22:12:53 [3947] >f+++++++++ subDirUpdate/needscreate1.txt
2015/04/01 22:12:53 [3947] >f.s....... subDirUpdate/needsupdate.txt
2015/04/01 22:12:53 [3947] sent 387 bytes  received 74 bytes  922.00 bytes/sec
2015/04/01 22:12:53 [3947] total size is 95  speedup is 0.21

The example is attached.

--
You are receiving this mail because:
You are the QA Contact for the bug.
--
Please use reply-all for most replies to avoid omitting the mailing list.
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 | Threaded
Open this post in threaded view
|

[Bug 11189] dry run gives incomplete log

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11189

--- Comment #1 from Kevin Korb <[hidden email]> ---
I believe the bug here is that it logged any changes during the dry run.  The
logfile is supposed to be a log of what it actually did not what it would do.

The log-file setting was really made for rsyncd and there is no reason for it
to log what it only pretended to do only what it actually did.

BTW, the logfile will contain an entry for metadata changes like permissions
too.

--
You are receiving this mail because:
You are the QA Contact for the bug.
--
Please use reply-all for most replies to avoid omitting the mailing list.
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 | Threaded
Open this post in threaded view
|

[Bug 11189] dry run gives incomplete log

samba-bugs
In reply to this post by samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11189

--- Comment #2 from Jerome <[hidden email]> ---
Ok, so to check the impact of --delete, one has to use --verbose and --dry-run,
and look at stdout

--
You are receiving this mail because:
You are the QA Contact for the bug.
--
Please use reply-all for most replies to avoid omitting the mailing list.
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 | Threaded
Open this post in threaded view
|

[Bug 11189] dry run gives incomplete log

samba-bugs
In reply to this post by samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11189

Jerome <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--
You are receiving this mail because:
You are the QA Contact for the bug.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html