time problem in logs

Wayne Davison wayned at samba.org
Thu Nov 16 00:54:47 GMT 2006


On Thu, Nov 16, 2006 at 12:17:32AM +0100, Ed wrote:
> The time starts right 23:02 but then I lose an hour.

That's caused by the chroot() call calling your system library away from
the timezone routines.  In 2.6.9, rsync calls strftime() once prior to
the chroot(), so it should hopefully avoid this problem.  If it doesn't,
you may need to set a TZ environment varible, or copy the necessary
timezone files into each chroot() area that will make your system
libraries happy.

..wayne..


More information about the rsync mailing list