[16043] in Athena Bugs
sgi 8.2.8: hostname/rc.conf
daemon@ATHENA.MIT.EDU (Karen Walrath N1XUL)
Tue Jul 28 17:26:49 1998
To: bugs@MIT.EDU
Date: Tue, 28 Jul 1998 17:26:44 EDT
From: Karen Walrath N1XUL <karen@MIT.EDU>
System name: mansard.mit.edu
Type and version: IP22 8.2.8 (with mkserv)
Display type: GR3-XZ
What were you trying to do?
We have several scripts which do different things based on the hostname.
All of the machines that have taken the new release have fully qualified
host names in the rc.conf file (eg. mansard.mit.edu, lees2.mit.edu)
where in the 8.1 release they had simply the host name (mansard, lees2, etc.)
without domain extensions.
What's wrong:
Now /bin/hostname reports the domain as well as hostname (eg. mansard.mit.edu)
What should have happened:
Did you really need to break all of our scripts? Shouldn't the default
behavior be the same as before, with a new option to hostname that returns
the fully qualified hostname? All other versions of unix return just the
host name, without the domain.
Please describe any relevant documentation references:
The release notes...