And to expand on Clay's explanation:
HP-UX is a standards-based system and uname must remain consistent with the standards. uname is defined as an 8-character (max) name as stated in the man page for hostname. Once a standard is changed, all sorts of problems with compatibility start showing up. Each man page documents the applicable standard(s) at the bottom.
NOTE: hostname is limited to 64 characters but nodename (the value reported by uname) is limited to 8 characters. BOTH can be set by editing the /etc/rc.conig.d/netconf file and entering separate values for HOSTNAME and NODENAME. If you must use a long hostname, then set NODENAME *and* HOSTNAME in the netconf file:
NODENAME="shorty"
HOSTNAME="shortstuffismyname"
A lot of mixed system managers will be tempted to change HOSTNAME to a long network name, not knowing that the network name (NODENAME) gets the same string and creates problems with uname.
So, if you can keep 8-character names for your servers, just set HOSTNAME and you're set. Otherwise, define NODENAME as the uname/8char-name and HOSTNAME as the network name.
Bill Hassell, sysadmin