Red Hat Bugzilla – Bug 171946
/etc/sysconfig/network doesn't set NISDOMAIN
Last modified: 2015-01-07 19:11:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Description of problem:
In RHEL 4.0, I am trying to define NIS domain for my system. The man page tells to set a value in /etc/sysconfig/network file, but it doesn't work for me. I set it and reboot, but "domainname" still show none.
My workaround is to set it in /etc/rc.d/rc.local:
The workaround works fine, but I still would like to report to you this possible bug.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. $ cat /etc/sysconfig/network
2. Reboot machine.
3. check "domainname"
Actual Results: #domainname
Expected Results: domainname should be set as the value in /etc/sysconfig/network
Do you have ypbind set to run on startup? ie. send me the output from
'chkconfig --list ypbind'.
(In reply to comment #1)
> Do you have ypbind set to run on startup? ie. send me the output from
> 'chkconfig --list ypbind'.
Oops, I know what you mean. After I set ypbind to run on startup, it works
fine. You can close this issue....Sorry for false alarm...