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

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


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





------- Comment #8 from hashproduct+rsync at gmail.com  2007-07-21 09:13 CST -------
Created an attachment (id=2836)
 --> (https://bugzilla.samba.org/attachment.cgi?id=2836&action=view)
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: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- 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