[Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

Julian Edwards 1134036 at bugs.launchpad.net
Tue Jun 4 00:16:56 UTC 2013


It's clear that PG has a packaging bug, it should not hang the postinst
script because of an invalid locale.  That bug ought to be triaged and
this can be a dupe of it.

@Robie
Yes I see a /etc/profile.d/Z99-cloud-locale-test.sh but not the skip file.  I can recreate this trivially with new canonistack instances:

ed at beast:~$ echo $LC_TIME
en_GB.utf8
ed at beast:~$ ssh 10.55.60.195
The authenticity of host '10.55.60.195 (<no hostip for proxy command>)' can't be established.
ECDSA key fingerprint is 42:7b:4f:79:b2:2c:95:d7:ce:32:90:d4:c5:6c:f3:3f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.55.60.195' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-43-virtual x86_64)

 * Documentation:  https://help.ubuntu.com/
...
[snip]
...
ubuntu at server-72566baa-6d58-40c5-a382-0fef613e7256:~$ echo $LC_TIME                                                                                 
en_GB.utf8                                                                                                                                          
ubuntu at server-72566baa-6d58-40c5-a382-0fef613e7256:~$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory                                                                              
LANG=en_US.UTF-8                                                                                                                                    
LANGUAGE=                                                                                                                                           
LC_CTYPE="en_US.UTF-8"                                                                                                                              
LC_NUMERIC="en_US.UTF-8"                                                                                                                            
LC_TIME=en_GB.utf8                                                                                                                                  
LC_COLLATE="en_US.UTF-8"                                                                                                                            
LC_MONETARY="en_US.UTF-8"                                                                                                                           
LC_MESSAGES="en_US.UTF-8"                                                                                                                           
LC_PAPER="en_US.UTF-8"                                                                                                                              
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
ubuntu at server-72566baa-6d58-40c5-a382-0fef613e7256:~$ cat ~/.cloud-locale-test.skip
cat: /home/ubuntu/.cloud-locale-test.skip: No such file or directory
ubuntu at server-72566baa-6d58-40c5-a382-0fef613e7256:~$ ls /etc/profile.d/Z99-cloud-locale-test.sh
/etc/profile.d/Z99-cloud-locale-test.sh

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1134036

Title:
  Failure when using ssh with a locale that is not configured on the
  server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1134036/+subscriptions



More information about the Ubuntu-server-bugs mailing list