Re: /etc/rc: WARNING: domainname(1) is not set.

From: Simon L. Nielsen <simon_at_nitro.dk>
Date: Wed, 9 Jul 2003 12:30:12 +0200
On 2003.07.08 19:42:57 -0400, Mike Makonnen wrote:
> On Tue, Jul 08, 2003 at 06:26:27PM -0400, Tom Parquette wrote:
> > Hi,
> > I have been getting the message "/etc/rc: WARNING: domainname(1) is not 
> > set" every time I boot one of my machines.
> > It is a 5.1-CURRENT system but I have not updated since June 15.
> > 
> > I have been ignoring this for some time because I have been trying to 
> > get DDNS to work.
> > I thought it was related to my DDNS problem.  Now that I have DDNS 
> > working (finally) I was supprised to see the message still appearing.
> > 
> 
> It says domainname(1) for a reason :-)
>                  ^^^^
> 
> Domainname has nothing to do with DNS, it's talking about your NIS
> domain name. You are trying to use one of the yp* daemons without
> first setting your NIS domain. You need domainname="..." in rc.conf.

Just in case someone searches the archives later... The variable is
actually called nisdomainname.

The domainname variable is only referenced in rc.d/network, which I
don't think is used anymore?

-- 
Simon L. Nielsen

Received on Wed Jul 09 2003 - 01:30:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC