Red Hat Bugzilla – Bug 64785
ntp.conf ignores parameters
Last modified: 2007-04-18 12:42:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET
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: 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):
Steps to Reproduce:
1.Just change your ntp.conf to point at a different directory and or filename.
Expected Results: You should be able to configure ntp.conf to put files
anywhere you want and have the application to continue to work.
The right entry should be.
ntp runs as user ntp for security reasons. Therefore it cannot write to /etc.