[Hostname-devel] Bug#626292: Bug#626292: man page claims that /etc/hostname should not contain fqdn

Clint Adams clint at debian.org
Thu Dec 22 19:35:57 UTC 2011


On Tue, Jun 14, 2011 at 05:20:05PM +0200, Michael Meskes wrote:
> Well /etc/hostname is supposed to contain the hostname as the name suggests.

A FQDN _is_ a hostname.

> If your system is named host.foo.org and you use it in domain bar.org you will
> end up with a fqdn that's not equal to your /etc/hostname but has a different
> domain suffix, right? Or what do I miss?

There are plenty of multi-homed machines in the world that have different
initial components of their hostnames depending on domain name or network
interface.  The running kernel only has one canonical hostname though.





More information about the Hostname-devel mailing list