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

Simon L. Nielsen simon at nitro.dk
Wed Jul 9 03:30:19 PDT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030709/47a016bf/attachment.bin


More information about the freebsd-current mailing list