NIS domainame not holding after reboot
Waldher, Travis R
Travis.R.Waldher at boeing.com
Wed Jan 16 22:39:42 UTC 2008
> -----Original Message-----
> From: Rick Stevens [mailto:rstevens at internap.com]
> Sent: Wednesday, January 16, 2008 1:13 PM
> To: Getting started with Red Hat Linux
> Subject: Re: NIS domainame not holding after reboot
>
> >
> > I reboot and I get (none) when I type in domainname. Even odder, if
> > the machine changes NIS domains, it’s remembering the old domain.
>
> You have to bind to the NIS master of the new domain.
>
> > Has anyone seen this?
>
> The only time the NIS domain is set is if you have ypbind enabled (e.g.
> "service ypbind on"). You can bury the "NISDOMAIN=whatever" in
> /etc/sysconfig/network, /etc/sysconfig/ypbind or /etc/yp.conf.
>
Ok, this makes sense. I figured that even if ypbind wasn't enabled the nis domainname would still be set.
A side question since I've seen this stated. Supposedly on a client /etc/sysconfig/network doesn't need the NISDOMAIN=<domainname> entry, just /etc/yp.conf is adequate.
I haven't found that to be true, is it supposed to be true?
More information about the Redhat-install-list
mailing list