Solaris 10 OS includes Bash 2.0.5b. This shell no longer automatically exports the following variables to the environment:
HOSTNAME
HOSTTYPE
MACHTYPE
OSTYPE
This new behavior applies even if the shell assigns default values to these variables.
Workaround: Export these variables manually.