This is still a problem in 2020 with Debian 10, even without chroot. But it can be fixed by adding the timezone data to the systemd rsync daemon config:

    systemctl edit rsync.service

This opens your editor, where you can add

    [Service]
    Environment="TZ=:/etc/localtime"

It will be saved to /etc/systemd/system/rsync.service.d/override.conf

Finally:

    systemctl restart rsync.service

Reply via email to