Listing use locale for date representation

Bug #470071 reported by Коренберг Марк
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vsftpd (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: vsftpd

When vsftpd try to generate directory listing it users current locale (maybe when running internal ls command), so other programs (like Midnight Commander) cannot parse the date.

When /sbin/init launch /etc/init.d/vsftpd, all OK because it exports LANG=C

When I restart vsftpd using command /etc/init.d/vsftpd, users can connect, but cannot parse listing.

Wehn I restart vsftpd using command export LANG=C; /etc/init.d/vsftpd, everything works fine.

Solution:
1. (The simple, but not fully correct) add export LANG=C before actually starting daemon
2. Reset current locale in vsftpd
3. Handle locale especially at specific moments in daemon.

Revision history for this message
Коренберг Марк (socketpair) wrote :

I mean 3 different solutionis

Chuck Short (zulcss)
Changed in vsftpd (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Robie Basak (racb) wrote :

/etc/init.d/vsftpd no longer exists, so this bug is now moot. The correct way to start the service is with "service vsftpd start", and this does the right thing. Since it is now not possible to start vsftpd with a different locale as described, I think it's fair to consider this bug fixed.

If you disagree, please do comment and reopen. Thanks!

Changed in vsftpd (Ubuntu):
status: Confirmed → Fix Released
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.