Bug 78542

Summary: restrict time.nist.gov is bad
Product: [Retired] Red Hat Raw Hide Reporter: Gene Czarcinski <gczarcinski>
Component: redhat-config-dateAssignee: Brent Fox <bfox>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
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-11-25 13:42: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:

Description Gene Czarcinski 2002-11-25 13:42:49 UTC
Description of Problem:
While redhat-config-date-1.5.5-1 is a start, the solution still needs work. 
Unfortuneately, as pointed out in
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=70557
restrict needs ip numbers ... not a name.  Unless ntp is changed so restrict
looks up numbers or there is some other magic way to do what restrict
192.43.244.18 would do, this package will need to look up the ip-addr and plug
it into the restrict statement.

After applying 1.5.5-1 and running it to update /etc/ntp.conf, I looked in
/vat/log/messages and found:

ntpd[15033]: getnetnum: "time.nist.gov" invalid host number, line ignored

replacing "time.nist.gov" with "192.43.244.18" and restarting ntpd succeeded.

Comment 1 Gene Czarcinski 2002-11-25 14:42:43 UTC

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