Strange time in rsyncd logfile

Matt McCutchen matt at mattmccutchen.net
Tue Aug 5 12:17:44 GMT 2008


On Tue, 2008-08-05 at 14:17 +0400, Alexey Vlasov wrote:
> What can it be, the rsyncd shows the wrong date or something is wrong
> with my setings?
> 
> rsyncd server:
> # date
> Tue Aug  5 14:14:12 MSD 2008
> 
> rsync client:
> # date
> Tue Aug  5 14:14:45 MSD 2008
> 
> Log from a server:
> 2008/08/05 14:00:13 [22351] rsync on common/ from
> rsync_common at hostname (13.18.17.08)
> 2008/08/05 10:00:13 [22351] building file list
> 2008/08/05 10:00:14 [22351] sent 32852 bytes  received 90 bytes  total
> size 8307319

Yes, there is an issue where after a daemon process chroots, glibc will
look for /etc/localtime inside the chroot area and revert to UTC if that
file doesn't exist:

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

See the last comment there for a workaround.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080805/1f51f897/attachment.bin


More information about the rsync mailing list