Bug 8553

Summary: wait option in ping doesn't function
Product: [Retired] Red Hat Linux Reporter: itris
Component: netkit-baseAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.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: 2000-01-17 23:45:53 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:

Description itris 2000-01-17 23:31:36 UTC
man ping says:
     -w waitsecs
             Stop ping execution after waitsec seconds. This option is
useful
             when trying to ping unreachable hosts.


However,
for hosts that are down (and therefore don't respond) this option does NOT
work. ping will wait indefinately untill the user kills ping.

The wait option therefore becomes rather unusefull.

note: The host MUST be a valid host with a valid route, etc, and would
normally reply correctly if it were up and running.

best way to verify:
ping a host (ping -w 4 <ip>) and notice it'll stop after 4 sec's.
pull the plug on that host.
ping the host again, and notice ping won't stop after 4 sec's (it won't
ever stop).

Comment 1 itris 2000-01-17 23:45:59 UTC
Problem has been resolved with ping in 19990107 rawhide iputils package.