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: domainname=test.com The workaround works fine, but I still would like to report to you this possible bug. Version-Release number of selected component (if applicable): ypserv-2.13.5 How reproducible: Always Steps to Reproduce: 1. $ cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=host1.example.com NISDOMAIN=test.com 2. Reboot machine. 3. check "domainname" Actual Results: #domainname (none) Expected Results: domainname should be set as the value in /etc/sysconfig/network Additional info:
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...