List Archive: gentoo-mirrors
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
I noticed that using rsyncd's chroot() functionality (which is
recommended) breaks logging if your machine is not using UTC as
system time zone.
The problem is this: rsyncd logs various stuff after chrooting
(for example the "wrote X read Y total size Z" line.
Unfortunately, at this point /etc/localtime is inaccesible,
resulting in UTC times being used. Other log lines (most notably
the per -session "rsync on gentoo-portage from NAME (IP)" are
written *outside* the chroot(), resulting in localized times.
At first I thought this might be fixed by using syslog logging,
but as the syslog call is used (i.e. not syslog-over-UDP) , the
So I thought, I'd deactivate chroot()ing in order to narrow down
the problem. And bing: using use chroot=false "fixes" the
Loging with broken timestamps is damn near unusable, so what
should we do about it? I've written to the rsync maintainers (via
their mailing list) but got no feedback whatsoever :-(
PS: Seemingly, older rsyncds don't have this problem. I'm using
firstname.lastname@example.org mailing list