Bug 72268

Summary: hang during NTP configuration
Product: [Retired] Red Hat Public Beta Reporter: Mike Gerdts <gerdts>
Component: firstbootAssignee: Brent Fox <bfox>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: null   
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: 2002-08-22 17:03:14 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 Mike Gerdts 2002-08-22 17:03:08 UTC
After installing from CD, I rebooted.  During firstboot's NTP configuration I
entered an IP address.  After waiting on it to do something for over a minute, I
realized that the ethernet cable was unplugged.  I plugged it in, and waited a
bit longer.  During this time I had switched to a different virtual console, and
upon returning to VC7, firstboot did not repaint the screen.... ever.

Upon going to another computer, I got in via ssh.  I found that the cause of the
hang was ping -c 2 <ipaddress> had been running for quite some time.  Upon using
kill to get rid of the ping, firstboot repainted the screen and popped up an
error dialog.  A retry made everything go OK.

There are a couple problems here... 

1) If you are trying to see if a machine is a suitable NTP server, use an NTP
command rather than ping to see if it is alive.  Ping tests ICMP ECHO REQUEST
and ECHO REPLY packets.  A different command such as ntpdate will test NTP
packets.  Since ICMP ECHO REQUEST or ECHO REPLY packets may be firewalled, this
is a bad test to do.

2) If you really insist on using ping, consider the -w option.  I have not
tested to see if it would help in this situation or not, but the info in the man
page suggests that it should.

Comment 1 Brent Fox 2002-08-22 19:44:00 UTC

*** This bug has been marked as a duplicate of 72012 ***