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

Re: Debian /etc/hosts Behavior



On Sun, Apr 18, 2004 at 09:33:11AM -0700, Marc Wilson wrote:
> On Sat, Apr 17, 2004 at 10:32:29AM -0700, ms419@freezone.co.uk wrote:
> > ---
> > 127.0.0.1	kas	localhost
> > ---
> > This realized, it was a quick fix:
> > ---
> > 127.0.0.1	localhost
> > ---
> > 
> > If this entry prevents "hostname -f" and "hostname -d" from working, 
> > why does Debian create it?
> 
> Debian doesn't, on any of my machines:
> ...
> Personally, what YOU had in /etc/hosts looks like something that was added
> locally.

I had the same thing on one machine running unstable (hostname before
localhost), but not on others running stable.  I recently used the
hostname command (followed by some grepping and editing other files
under /etc) to change the host's name; maybe that was responsible for
this format?

-- 
Ken Irving, fnkci@uaf.edu



Reply to: