[Bug 470071] [NEW] Listing use locale for date representation

mmarkk socketpair at gmail.com
Mon Nov 2 05:17:14 GMT 2009


Public bug reported:

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.

** Affects: vsftpd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Listing use locale for date representation
https://bugs.launchpad.net/bugs/470071
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vsftpd in ubuntu.



More information about the Ubuntu-server-bugs mailing list