Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217559 - net-misc/rsync-2.6.9-r6: Logfile of rsyncd use both UTC and local time
Summary: net-misc/rsync-2.6.9-r6: Logfile of rsyncd use both UTC and local time
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-13 22:12 UTC by François Mathias
Modified: 2008-04-14 22:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My rsyncd.conf with chroot off (rsyncd.conf,1008 bytes, text/plain)
2008-04-14 20:06 UTC, François Mathias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François Mathias 2008-04-13 22:12:15 UTC
Rsyncd logfile:

2008/04/12 13:45:36 [20535] rsyncd version 2.6.9 starting, listening on port 873
2008/04/12 13:58:15 [28600] connect from serveur1.------.--- (192.168.0.192)
2008/04/12 13:58:15 [28600] rsync on gentoo-portage/metadata/timestamp.chk from serveur1.------.--- (192.168.0.192)
2008/04/12 11:58:15 [28600] building file list
2008/04/12 11:58:16 [28600] sent 199 bytes  received 207 bytes  total size 32
2008/04/12 13:58:16 [28601] connect from serveur1.------.--- (192.168.0.192)
2008/04/12 13:58:16 [28601] rsync on gentoo-portage/ from serveur1.------.--- (192.168.0.192)
2008/04/12 11:58:16 [28601] building file list
2008/04/12 12:02:53 [28601] sent 4627179 bytes  received 67001 bytes  total size 154908360
2008/04/13 23:05:42 [21809] connect from serveur1.------.--- (192.168.0.192)
2008/04/13 23:05:43 [21809] rsync on gentoo-portage/metadata/timestamp.chk from serveur1.------.--- (192.168.0.192)
2008/04/13 21:05:43 [21809] building file list
2008/04/13 21:05:43 [21809] sent 197 bytes  received 207 bytes  total size 32
2008/04/13 23:05:43 [21810] connect from serveur1.------.--- (192.168.0.192)
2008/04/13 23:05:43 [21810] rsync on gentoo-portage/ from serveur1.------.--- (192.168.0.192)
2008/04/13 21:05:43 [21810] building file list
2008/04/13 21:10:41 [21810] sent 4380239 bytes  received 64427 bytes  total size 154773139

You can see sometimes it use UTC (21:10:41) and just before local time (23:05:43 -> GMT+2).

My config for the clock:
# /etc/conf.d/clock
CLOCK="UTC"
TIMEZONE="Europe/Brussels"

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2008-04-14 17:40:04 UTC
please test rsync-3.0.2
Comment 2 François Mathias 2008-04-14 18:40:13 UTC
(In reply to comment #1)
> please test rsync-3.0.2

Same problem with rsync-3.0.2:

2008/04/14 20:25:12 [32181] connect from serveur1.------.--- (192.168.0.192)
2008/04/14 20:25:12 [32181] rsync on gentoo-portage/metadata/timestamp.chk from serveur1.------.--- (192.168.0.192)
2008/04/14 18:25:12 [32181] building file list
2008/04/14 18:25:12 [32181] sent 201 bytes  received 112 bytes  total size 32
2008/04/14 20:25:12 [32182] connect from serveur1.------.--- (192.168.0.192)
2008/04/14 20:25:12 [32182] rsync on gentoo-portage/ from serveur1.------.--- (192.168.0.192)
2008/04/14 18:25:12 [32182] building file list
Comment 3 SpanKY gentoo-dev 2008-04-14 19:14:59 UTC
and if you turn off chroot ?  post your rsyncd.conf file as an attachment
Comment 4 François Mathias 2008-04-14 20:06:14 UTC
Created attachment 149740 [details]
My rsyncd.conf with chroot off

The problem disappears when I deactivate chroot.

2008/04/14 21:56:06 [304] connect from serveur1.-------.--- (192.168.0.192)
2008/04/14 21:56:06 [304] rsync on gentoo-portage/metadata/timestamp.chk from serveur1.-------.--- (192.168.0.192)
2008/04/14 21:56:06 [304] building file list
2008/04/14 21:56:06 [304] sent 201 bytes  received 112 bytes  total size 32
Comment 5 SpanKY gentoo-dev 2008-04-14 22:39:53 UTC
i'm fairly certain this is expected behavior.  see Gentoo Bug 89406 and this:
https://bugzilla.samba.org/show_bug.cgi?id=2607