[Bug 232064] Re: dropbear doesn't set locales the right way
** Bug watch added: Debian Bug tracker #533525 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533525 ** Also affects: dropbear (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533525 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/232064 Title: dropbear doesn't set locales the right way To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/232064/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 232064] Re: dropbear doesn't set locales the right way
** Changed in: dropbear (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/232064 Title: dropbear doesn't set locales the right way To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/232064/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 232064] Re: dropbear doesn't set locales the right way
Now, optionally, edit /etc/profile as follows: Run locale -a to get a list of the locale names suitable for use in environment variables. Note that the spellings are different from the ones presented in the dpkg-reconfigure list. Add a line like this to your /etc/profile file: : ${LANG:=de_DE.iso88591}; export LANG where de_DE.iso88591 is the locale you want to use as a default. If you have tcsh or csh users, create a file named /etc/csh/login.d/lang with the following content: if (! $?LANG) setenv LANG de_DE.iso88591 This will only set LANG if it was not previously defined, for example by ssh. Unfortunately, this won't affect users who login with xdm, gdm, etc. http://wiki.debian.org/Locale -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/232064 Title: dropbear doesn't set locales the right way To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/232064/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 232064] Re: dropbear doesn't set locales the right way
** Changed in: dropbear (Ubuntu) Status: New = Confirmed -- dropbear doesn't set locales the right way https://bugs.launchpad.net/bugs/232064 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 232064] Re: dropbear doesn't set locales the right way
This bug applies also to Intrepid. A little workaround is to do: echo export LANG=\cs_CZ.UTF-8\ /etc/profile.d/lang.sh as root. It seems to me that a) dropbear is not working correctly with locales or b) something is wrong with locales and the fault is not on dropbear's side. But a) seems more probable to me. -- dropbear doesn't set locales the right way https://bugs.launchpad.net/bugs/232064 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 232064] Re: dropbear doesn't set locales the right way
** Description changed: Binary package hint: dropbear When using dropbear 0.50-2 instead of openssh on my Ubuntu hardy server, locales are not properly set on login. In fact they are set to POSIX. Locales are configured properly (LANG=cs_CZ.UTF-8) and work when accesing the server from console or via openssh. How to reproduce: 1) Install openssh-server and try out that locales work as expected. + LANG=cs_CZ.UTF-8 + LC_CTYPE=cs_CZ.UTF-8 + LC_NUMERIC=cs_CZ.UTF-8 + LC_TIME=cs_CZ.UTF-8 + LC_COLLATE=cs_CZ.UTF-8 + LC_MONETARY=cs_CZ.UTF-8 + LC_MESSAGES=cs_CZ.UTF-8 + LC_PAPER=cs_CZ.UTF-8 + LC_NAME=cs_CZ.UTF-8 + LC_ADDRESS=cs_CZ.UTF-8 + LC_TELEPHONE=cs_CZ.UTF-8 + LC_MEASUREMENT=cs_CZ.UTF-8 + LC_IDENTIFICATION=cs_CZ.UTF-8 + LC_ALL= 2) Purge openssh-server, openssh-client and all the residuous libs and install dropbear. - 3) When accesing the machine via dropbear, locales are set to POSIX. + 3) When accesing the machine via dropbear, locales are set to POSIX. LANG is not set. + LANG= + LC_CTYPE=POSIX + LC_NUMERIC=POSIX + LC_TIME=POSIX + LC_COLLATE=POSIX + LC_MONETARY=POSIX + LC_MESSAGES=POSIX + LC_PAPER=POSIX + LC_NAME=POSIX + LC_ADDRESS=POSIX + LC_TELEPHONE=POSIX + LC_MEASUREMENT=POSIX + LC_IDENTIFICATION=POSIX + LC_ALL= -- dropbear doesn't set locales the right way https://bugs.launchpad.net/bugs/232064 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs