Bug 64785

Summary: ntp.conf ignores parameters
Product: [Retired] Red Hat Linux Reporter: Ledge M. Benson <ledge_benson>
Component: ntpAssignee: Harald Hoyer <harald>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
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-05-10 21:33:59 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 Ledge M. Benson 2002-05-10 21:33:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET 
CLR 1.0.3705)

Description of problem:
I have a line in /etc/ntp.conf which points my driftfile to /etc/driftfile and 
was receiving the following error: "ntpd[830]: can't 
open /etc/ntp.drift.TEMP:> Permission denied"

In talking with Red Hat support, I have received the following directive, "I 
suspect their /etc/ntp.conf directs the drift file to be placed straight 
into /etc.  The new layout puts such files into /etc/ntp/, a directory owned 
by the ntp user.  So have them fix the "driftfile" line in their ntp.conf.

Why even bother with a configurable ntp.conf, if it defaults to /etc/ntp/?  
This in my book is a bug!


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


How reproducible:
Always

Steps to Reproduce:
1.Just change your ntp.conf to point at a different directory and or filename.
2.
3.
	

Expected Results:  You should be able to configure ntp.conf to put files 
anywhere you want and have the application to continue to work.

Additional info:

Comment 1 Harald Hoyer 2002-05-13 09:19:02 UTC
The right entry should be. 
 driftfile /etc/ntp/drift 
ntp runs as user ntp for security reasons. Therefore it cannot write to /etc.