Bug 74462

Summary: dateconfig doesnt configure ntp correctly when using default ntp.conf
Product: [Retired] Red Hat Linux Reporter: David Kaplan <dmkaplan>
Component: dateconfigAssignee: Brent Fox <bfox>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-22 19:39:42 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 David Kaplan 2002-09-24 20:07:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020710

Description of problem:
I am new to ntp and a bit confused, but it seems that dateconfig does not
properly configure ntp when used with the default ntp.conf that comes with the
redhat rpm.  This default conf file has at the top:

# Prohibit general access to this service.
restrict default ignore

This prohibits all access to ntp unless there is a restrict line of the form 

restrict mytrustedtimeserverip mask 255.255.255.255 nomodify notrap noquery

for every server (if I understand correctly).  As dateconfig doesnt add such a
line when you select the server, it does not configure ntp to work properly. 
This means that you have to change the conf file by hand (and learn a lot about
ntp), which defeats the purpose of a GUI.  

Perhaps I dont understand something, but it took me a long time to set up
something which should be really simple.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.run dateconfig
2.select use ntp
3.select a server and apply
	

Actual Results:  Time doesnt get synced up and ntpq -p shows no activity.

Expected Results:  ntp does it's thing.

Additional info:

Comment 1 Brent Fox 2002-10-22 19:39:34 UTC
Can you try redhat-config-date-1.5.3-1 from Rawhide?  Things work fine for me
with this version, although the 'restrict mytrustedtimeserverip mask
255.255.255.255 nomodify notrap noquery' does not seem to be necessary for NTP
to work.

Comment 2 Brent Fox 2002-10-25 18:25:15 UTC

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