[Bug 8198] rsync does not set TZ variable after chroot(), which confuses logging timestamps

samba-bugs at samba.org samba-bugs at samba.org
Fri Jun 3 21:25:27 MDT 2011


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

--- Comment #2 from Matt McCutchen <matt at mattmccutchen.net> 2011-06-04 03:25:27 UTC ---
The solution is a little messy and fails in the rare event that an rsync run
straddles a DST change.

Fundamentally, glibc is assuming that the new root directory is that of a
POSIX-like system whose configuration it should observe, which is not the case.
 If what rsync is doing is considered a valid use case for chroot, there should
be a way to advise glibc so it does not try to reload configuration.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list