[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/hostname



On Thu, May 29, 2003 at 02:35:03PM +0200, Josip Rodin wrote:
> On Thu, May 29, 2003 at 03:43:56PM +0400, Nikita V. Youshchenko wrote:
> > Should /etc/hostname contain only short hostname, or FQDN name?
> > Is this documented anywhere?

> > I've always thougth that /etc/hostname should contain short hostname.
> > But e.g. etherconf package puts FQDN name there ...

> Eh, file a bug I guess. The short name goes to hostname, and the domain goes
> to hosts (and resolv.conf to be nicer). I've never seen it done differently
> on Debian systems.

However, I've seen problems caused by the use of the short name only in
/etc/hostname (mostly mail-related, maybe?) and I systematically change
this to hold the FQDN on my systems.  Haven't filed a bug about this,
because I'm not sure if it's a real bug, or if this just happens to be
the easiest kludge for working around the other symptoms I see.

-- 
Steve Langasek
postmodern programmer

Attachment: pgpsePLpagR4J.pgp
Description: PGP signature


Reply to: