Confirming I can reproduce this by editing /etc/hosts.
[EMAIL PROTECTED]:~$ hostname -v -f
ghp-medp4.ghp.be
[EMAIL PROTECTED]:~$ sudo nano /etc/hosts
[EMAIL PROTECTED]:~$ hostname -v -f
hostname: Unknown host
/etc/hosts contains for Unknown host:
127.0.0.1 localhost
127.0.1.1 Arcturus2
192.168.001.002 ghp-medp4.ghp.be ghp-medp4
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
dpkg -l libc6 :
ii libc6 2.4-1ubuntu12 GNU C Library: Shared libraries
$dpkg -l hostname
ii hostname 2.92
** Changed in: glibc (Ubuntu)
Status: Unconfirmed => Confirmed
--
127.000.000.001 is dead, long live 127.0.0.1, or "hostname: Unknown host"
https://launchpad.net/bugs/21106
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs