When proftpd uses chroot to keep ftp users in their own home directory, glibc loses the tz setting out of /etc/localtime and logs get mixed local and GMT time

Bug #484357 reported by eric.rost
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
proftpd-dfsg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This can be avoided as described here upstream:

http://www.proftpd.org/docs/howto/Timestamps.html

Please make this line:

 SetEnv TZ :/etc/localtime

part of the default config for proftpd on Ubuntu as it drives proper behavior from glibc, proftpd, and chroot.

Technically TZ should be exported in some other config or init script, but this is a good workaround.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in proftpd-dfsg (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.