Activity log for bug #920749

Date Who What changed Old value New value Message
2012-01-24 00:12:10 Ben Howard bug added bug
2012-01-24 00:12:30 Ben Howard openssh (Ubuntu): milestone precise-alpha-2
2012-01-24 00:24:26 Ben Howard description The default /etc/pam.d/sshd configuration has: # Read environment variables from /etc/environment and # /etc/security/pam_env.conf. #auth required pam_env.so # [1] # In Debian 4.0 (etch), locale-related environment variables were moved to # /etc/default/locale, so read that as well. auth required pam_env.so envfile=/etc/default/locale The default SSH client configuration has "Send LC_*" and the default SSH server configuration has "Accept LC_*". This prevent any user locale settings from being sent via SSH. For example, if /etc/default/locale has: LANG=en_US.UTF-8 LC_COLLATE=C Then running "LANG=zh_SG.utf8 LC_COLLATE=en_US.UTF-8 ssh myspecialhost.foo.bar.com" yields: ubuntu@ip-10-12-15-243:~$ locale LANG=en_US.UTF-8 LC_COLLATE=C (output truncated for clarity) While having a blank /etc/default/locale yeilds: ubuntu@ip-10-12-15-243:~$ locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=zh_SG.utf8 LC_COLLATE=en_US.UTF-8 (output truncated for clarity) I think, although I am not sure, that this is a bug with the default configuration. It means that in order for server to accept multple languages or LC_* bindings, the system locale default would have to be unset. Effectively this is forcing the system default on all users. The default /etc/pam.d/sshd configuration has: # Read environment variables from /etc/environment and # /etc/security/pam_env.conf. #auth required pam_env.so # [1] # In Debian 4.0 (etch), locale-related environment variables were moved to # /etc/default/locale, so read that as well. auth required pam_env.so envfile=/etc/default/locale The default SSH client configuration has "Send LC_*" and the default SSH server configuration has "Accept LC_*". The PAM configuration prevents any user-overrides for locale settings. For example, if /etc/default/locale has: LANG=en_US.UTF-8 LC_COLLATE=C Then running "LANG=zh_SG.utf8 LC_COLLATE=en_US.UTF-8 ssh myspecialhost.foo.bar.com" yields: ubuntu@ip-10-12-15-243:~$ locale LANG=en_US.UTF-8 LC_COLLATE=C (output truncated for clarity) While having a blank /etc/default/locale yeilds: ubuntu@ip-10-12-15-243:~$ locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=zh_SG.utf8 LC_COLLATE=en_US.UTF-8 (output truncated for clarity) I think, although I am not sure, that this is a bug with the default configuration. It means that in order for server to accept multple languages or LC_* bindings, the system locale default would have to be unset. Effectively this is forcing the system default on all users.
2012-01-24 15:18:05 Dave Walker bug added subscriber Ubuntu Server Release Tracking (Other)
2012-01-24 15:19:57 Dave Walker openssh (Ubuntu): importance Undecided Medium
2012-01-24 15:23:01 Colin Watson bug watch added https://bugzilla.mindrot.org/show_bug.cgi?id=1346
2012-01-24 15:23:01 Colin Watson bug task added openssh
2012-01-24 15:31:00 Colin Watson bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313317
2012-01-24 15:31:00 Colin Watson bug task added openssh (Debian)
2012-01-24 15:31:15 Colin Watson openssh (Ubuntu): status New Triaged
2012-01-24 15:31:56 Colin Watson openssh (Ubuntu): milestone precise-alpha-2
2012-01-24 16:50:29 Bug Watch Updater openssh: status Unknown Confirmed
2012-01-24 16:50:29 Bug Watch Updater openssh: importance Unknown Medium
2012-01-24 16:50:40 Bug Watch Updater bug watch added https://bugzilla.novell.com/show_bug.cgi?id=345570
2012-01-24 17:37:35 Bug Watch Updater openssh (Debian): status Unknown Confirmed
2013-01-11 15:05:02 Daniel Hahler tags manpage
2014-07-25 12:37:15 Jarek Kamiński bug added subscriber Jarek Kamiński
2015-11-13 12:10:02 eraserix bug added subscriber eraserix
2020-06-10 07:33:41 Jeremy Kitchen bug added subscriber Jeremy Kitchen