Description of problem:
# cat /etc/yp.conf
# /etc/yp.conf - ypbind configuration file
# Valid entries are
domain surriel.com broadcast
The above yp.conf works fine for RHEL5 and Fedora 12, on the same network with the same NIS server. However, RHEL6 ypbind fails to bind to the domain.
# service ypbind start
Starting NIS service: [ OK ]
Binding NIS service: ...................... [FAILED]
Shutting down NIS service: [ OK ]
Version-Release number of selected component (if applicable):
Have "broadcast" as the server. Try to start ypbind and watch it fail.
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.
** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **
it works well here, so I need more information about what is happening on your computer.
Please try to run ypbind manually in the debug mode:
$ sudo service ypbind stop
$ sudo ypbind -d
and attach its output to this bug. Make sure that both SELinux and firewall are turned off (something like 'setenforce 0; service iptables stop') during this test.
If you have access to the yp server, please run the ypserv manually in the debug mode and consider attaching its output to this bug:
$ sudo service ypserv stop
$ sudo ypserv -d
Looks like iptables is indeed the problem. Without broadcast things work fine with iptables. With iptables on, broadcast never gets an answer from the server. With iptables off, broadcast NIS works.
For some reason, the INPUT rules did not show up in "iptables -L" after the kvm iptables rules were added?
Anyway, this is not a ypbind bug.