On Thu, 2005-06-23 at 18:10 +0200, Xavier Neys wrote:
> Paul de Vrieze wrote:
> > On Thursday 23 June 2005 17:38, Francisco Perez wrote:
> > 
> >>I've had my AMD 64 box running for a few days, but I just noticed that
> >>at the login screen it says "Welcome to GOETHALS.UNKNOWN_DOMAIN". 
> >>Right before that though, it says "Setting DNSDOMAINNAME to
> >>albrookdata.com." I've checked my resolv.conf file as well as my
> >>/etc/hosts,
> >>/etc/conf.d/domainname, and /etc/conf.d/hostname and they all seem ok.
> >>Here is the contents of the files:
> > 
> > 
> > The hostname in /etc/conf.d/hostname should include the domain. Then 
> > things work.
> 
> Nope. hostname should only define the host name, not the fqdn.
> 
        Actually, I just checked my /etc/conf.d/hostname and it is set to
localhost and everything is fine.  My /etc/hostname is set to my
hostname (no network name) and that seems to take care of everything.

        On the other hand there is a check in /etc/init.d/hostname that checks
for /etc/hostname and then emits the warning: stop using /etc/hostname
and start using /etc/conf.d/hostname instead.  That might create a
problem with other things as /etc/hostname has bee around forever and
non-Gentoo things might look for it there.  modules, sysklogd,
autoconfig, bootmisc and the obvious hostname in /etc/init.d seem to
count on it (some indirectly).

        Anyway, for the time being, I'm going to keep both and comment out
vapier's warning.

-- 
Tres

-- 
[email protected] mailing list

Reply via email to