Description of problem: Race condition in /etc/sysconfig/network-scripts/network-functions Version-Release number of selected component (if applicable): How reproducible: It's a race condition.. umm.. it happens for me on a Dell workstation system with a broadcom nic and a cisco switch Steps to Reproduce: did I mention it's a race condition ;) 1. 2. 3. Actual results: /etc/init.d/network restart fails to detect the cable Expected results: It should sleep to allow the network interface to stabilise before testing if there is link. Additional info:
Created attachment 146049 [details] Diff to check_link_down function to add sleep
It's already got a 5 second timeout. This is fixed in RHEL 5 by use of the LINKDELAY parameter.
when you say already you mean "always has had" or it now has?(In reply to comment #2) > It's already got a 5 second timeout. This is fixed in RHEL 5 by use of the > LINKDELAY parameter. when you say Already got.. do you mean always has had or its been recently fixed?
initscripts has a 5 second wait for link status to be correct for dhcp in RHEL 3 or later. In RHEL5 the delay length is user configurable.