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

Michael Meskes meskes at debian.org
Tue Jun 14 15:20:05 UTC 2011


On Tue, Jun 14, 2011 at 02:36:52PM +0000, Clint Adams wrote:
> On Fri, Jun 10, 2011 at 11:55:42AM +0200, Michael Meskes wrote:
> > This section explains the difference between a hostname, which is what should
> > be in /etc/hostname, and a FQDN.
> 
> It doesn't explain why an FQDN should not be in /etc/hostname, does it?

Well /etc/hostname is supposed to contain the hostname as the name suggests.

> > What about the simple case of a laptop used in different networks?
> 
> What about it?

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?

Michael

-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL





More information about the Hostname-devel mailing list