Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 57393

Summary: startup script fails to kill ypbind when binding fails
Product: [Retired] Red Hat Linux Reporter: Jonathan Miner <jonathan.w.miner>
Component: ypbindAssignee: Florian La Roche <laroche>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-12-11 16:19:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
diff -c output from /etc/rc.d/init.d/ypbind none

Description Jonathan Miner 2001-12-11 16:15:02 UTC
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):


How reproducible:
Always

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.

Additional info:

My fix is to replace "kill $pid" with "stop" in the /etc/rc.d/init.d/ypbind
script (line 58)

Comment 1 Jonathan Miner 2001-12-11 16:19:49 UTC
Created attachment 40348 [details]
diff -c output from /etc/rc.d/init.d/ypbind

Comment 2 Florian La Roche 2002-03-10 12:36:19 UTC
I have aded this change into the next rpm.

Thanks for your report,

Florian La Roche