Thorny locale issue..

Two machines, A, which is Solaris 9 and B which is Solaris 10.

Both built by Jet, some months apart with the following as the locale definition.

base_config_sysidcfg_system_locale=en_GB.ISO8859-15

Both systems have the /etc/default/init set the same,

TZ=GB

CMASK=022

LC_COLLATE=en_GB.ISO8859-15

LC_CTYPE=en_GB.ISO8859-1

LC_MESSAGES=C

LC_MONETARY=en_GB.ISO8859-15

LC_NUMERIC=en_GB.ISO8859-15

LC_TIME=en_GB.ISO8859-15

However, where it gets screwy, create a use with a completely empty home directory, no .profile or .kshrc etc. to mess with things..

On the Solaris 9 machine

$ locale

LANG=

LC_CTYPE="C"

LC_NUMERIC="C"

LC_TIME="C"

LC_COLLATE="C"

LC_MONETARY="C"

LC_MESSAGES="C"

LC_ALL=

$

BUT - the solaris 10 machine something rather (annoyingly) different..

$ locale

LANG=en_GB.ISO8859-1

LC_CTYPE="en_GB"

LC_NUMERIC="en_GB"

LC_TIME="en_GB"

LC_COLLATE="en_GB"

LC_MONETARY="en_GB"

LC_MESSAGES="en_GB"

LC_ALL=en_GB

Solaris 9 is Solaris 9 9/04 s9s_u7wos_09 SPARC

solaris 10 is Solaris 10 11/06 s10s_u3wos_10 SPARC

Can anyone please shed some light on this oddity, whilst we can set things on a per user basis in .profile, I need to know why there is a difference.

Cheers

DF

[1404 byte] By [DexterFa] at [2007-11-27 10:50:51]
# 1

Hmm, is that a console login or a remote login with something such as ssh?

.7/M.

mAbrantea at 2007-7-29 11:27:47 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

That'll be ssh..

Interesting thing is if i go in on the console, the default settings in /etc/default/init get applied.

This points to a problem with SSH not honoring the default settings.

What is even *more* interesting is that we just patched an identical machine (i.e. it was having the problem over ssh) and it isn't now.

I am now convinced that this is an SSH patch problem.

DexterFa at 2007-7-29 11:27:47 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

Bug 4710108 and others, seems to be fixed with these patches for SPARC:

117177-02

114356-07 (or greater)

113273-11 (or greater)

...and the following patches for x86:

117178-02

114357-07 (or greater)

114858-09 (or greater)

.7/M.

mAbrantea at 2007-7-29 11:27:47 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...