DO NOT REPLY [Bug 4402] Incorrect time logged with glibc 2.5 inside chroot area

samba-bugs at samba-bugs at
Sat Jul 21 14:13:07 GMT 2007

------- Comment #8 from hashproduct+rsync at  2007-07-21 09:13 CST -------
Created an attachment (id=2836)
 --> (
Test program #2

(In reply to comment #7)
> Did you try using localtime() instead of localtime_r()?  I wonder if the latter
> would help rsync?
> Did you try forking after the chroot?

I changed the program to use localtime() and forked both before and after the
chroot (attached).  Nevertheless, all four processes gave the correct time. 
This is really puzzling.  I suppose I will have to butcher a copy of the rsync
source code down to a test program little by little and see when the inaccuracy
goes away.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list