I was able to reproduce this on Ubuntu 8.10 with package hostname version 2.95.
Results from terminal:
me@:~$ sudo hostname airhead
sudo: unable to resolve host
me@:~$ hostname
airhead
me@:~$ sudo hostname ''
hostname: the specified hostname is invalid
me@:~$ hostname
me@:~$
Contents of /etc/hostname
[EMAIL PROTECTED]:~$ more /etc/hostname
airhead
[EMAIL PROTECTED]:~$
** Changed in: hostname (Ubuntu)
Status: New => Confirmed
--
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs