Bad time logging - rsync 3.1.1 as daemon on Mac OS 10.9
davegradwell at yahoo.co.uk
Mon Aug 18 12:31:24 MDT 2014
I'm on Mac OS 10.9, using rsync 3.1.1.
When the rsync daemon logs, it fails to determine the correct time:
2014/08/18 18:47:24  connect from localhost (::1)
2014/08/18 17:47:24  rsync to dave/in-progress/data/ from dave at localhost (::1)
When I specify use chroot = false in the rsyncd.conf, it logs the time correctly:
2014/08/18 19:21:32  connect from localhost (::1)
2014/08/18 19:21:32  rsync to dave/in-progress/data/ from dave at localhost (::1)
I have identified this bit in log.c:
/* This looks pointless, but it is needed in order for the
* C library on some systems to fetch the timezone info
* before the chroot. */
...but I'm unsure how to go about fixing this.
Can anyone offer any advice?
More information about the rsync