Bug 97754 - ntpd can't open/etc/ntp/drift.TEMP
ntpd can't open/etc/ntp/drift.TEMP
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: ntp (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-06-20 09:23 EDT by Jonathan Kamens
Modified: 2007-04-18 12:54 EDT (History)
0 users

See Also:
Fixed In Version: ntp-4.1.2-1.rc3.3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-06-27 06:18:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2003-06-20 09:23:39 EDT
I have ntp-4.1.2-1.rc3.2.  I keep seeing this in my syslog:

Jun 20 02:46:01 jik ntpd[635]: can't open /etc/ntp/drift.TEMP: Permission denied

This makes sense, since ntpd is running as ntp/ntp and the directory is owned 
by root/root.

It looks like when opening the TEMP file fails it falls back on writing 
directly to /etc/ntp/drift, so all is not lost; still, if it wants to write to 
a TEMP file, then the RPM should probably be shipped with permissions that 
allow that.

Note You need to log in before you can comment on or make changes to this bug.