Hi ALL rsync 2.6.9 fixed the time issue. I felt this issue is truly behind, but then I upgraded to glibc 2.5. The time problem again started. I recompiled rsync after upgrading glibc thinking that might be the problem. No ways, problem still persists. I am using Gentoo 2.6.19 + glibc 2.5. From logs Time: Mon Feb 12 15:46:43 EST 2007 2007/02/12 04:46:43 [16263] receiving file list 2007/02/12 04:46:43 [16263] sent 85 bytes received 393 bytes total size 244652 It should be 2007/02/12 15:46:43 [16263] receiving file list 2007/02/12 15:46:43 [16263] sent 85 bytes received 393 bytes total size 244652 I also compiled the latest CVS version, and it also shows the incorrect logged time. I have to set chroot = no, for the time to display correctly. This might be gentoo related, so are anyone else also having this issue with glibc 2.5. Regards Master
Dear all, Not sure what I'm doing wrong: (Using 2.6.9) I'm using --files-from=FILE and in this case I do NOT want to recurse into directories, so for example if FILE contains: Dir1 Dir2 I just want the files in Dir1 and 2 to be copied, but not the files in Dir1/Dir3/ for example. So I'm using -a and --files-from, (the -r being automatically "non-implied" due to the --files-from). What's happening is I get Dir1 and Dir2 on the receiver, but with no files at all in them. Tried a few things, but can't seem to make it work. Anyone got a clue? Julian
On 2/12/07, Master Abi <master@lavacoms.com> wrote:> rsync 2.6.9 fixed the time issue. I felt this issue is truly behind, but > then I upgraded to glibc 2.5. The time problem again started. I > recompiled rsync after upgrading glibc thinking that might be the > problem. No ways, problem still persists.> This might be gentoo related, so are anyone else also having this issue > with glibc 2.5.I can reproduce the time problem on my computer with Fedora Core 6 and glibc 2.5. Attached is a file of excerpts from the daemon's strace. It looks like glibc is trying to be clever by statting /etc/localtime on every call to strftime in case the time zone setting has changed. If /etc/localtime disappears, glibc reverts to GMT. Matt -------------- next part -------------- A non-text attachment was scrubbed... Name: daemon-time.strace Type: application/octet-stream Size: 7167 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20070212/30425012/daemon-time.obj