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

Re: /etc/hostname

On Thu, May 29, 2003 at 09:20:34AM -0500, Steve Langasek 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.


(Never seen problems myself. Always seen problems on Solaris where this
isn't as standardized as on Debian.)

     2. That which causes joy or happiness.

Reply to: