Red Hat Bugzilla – Bug 57393
startup script fails to kill ypbind when binding fails
Last modified: 2007-04-18 12:38:40 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12smp i686)
Description of problem:
We have laptops running RH7.1 which are part of our YP network. When the
machines boot up away from the network, the /etc/rc.d/init.d/ypbind script
fails to kill ypbind.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot the laptop away from the network
2. ps -ef | grep yp
Actual Results: ypbind is still running and generating domain not bound
messages, even though the /etc/rc.d/init.d/ypbind tries to execute a "kill"
command after the binding fails.
Expected Results: ypbind should not be running.
My fix is to replace "kill $pid" with "stop" in the /etc/rc.d/init.d/ypbind
script (line 58)
Created attachment 40348 [details]
diff -c output from /etc/rc.d/init.d/ypbind
I have aded this change into the next rpm.
Thanks for your report,
Florian La Roche