Bug 8553 - wait option in ping doesn't function
wait option in ping doesn't function
Product: Red Hat Linux
Classification: Retired
Component: netkit-base (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2000-01-17 18:31 EST by itris
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-01-17 18:45:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description itris 2000-01-17 18:31:36 EST
man ping says:
     -w waitsecs
             Stop ping execution after waitsec seconds. This option is
             when trying to ping unreachable hosts.

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 18:45:59 EST
Problem has been resolved with ping in 19990107 rawhide iputils package.

Note You need to log in before you can comment on or make changes to this bug.