Bugs item #1084690, was opened at 2004-12-13 13:38
Message generated for change (Settings changed) made by bernardli
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=1084690&group_id=9368

Category: Installation
Group: 4.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Mengjuei Hsieh (mjhsieh)
>Assigned to: Bernard Li (bernardli)
Summary: (FC2) ntpd pemission warning on client nodes

Initial Comment:
OS: fedora-release-2-4
OSCAR Version: 4 (trunk)
NTP Version: ntp-4.2.0-7

A lot of ntpd warning logs were found on FC2 client nodes. For 
example, the warnings are like this:

Dec 11 15:14:07 node1 ntpd[3521]: can't open /etc/ntp/drift.TEMP:
Permission denied
Dec 11 16:14:10 node1 ntpd[3521]: can't open /etc/ntp/drift.TEMP:
Permission denied

This only happens when the owner of /etc/ntp is not 'ntp', the ntpds 
seem to be still working. However these messages would 
overwhelm the log file on the master node. Mugster reported that 
it was okay on ntp-4.1.2-0.rc1.2 (FC2), therefore I suspect that the  
/etc/ntp uid:gid somehow got changed after a certain system 
update (yum update).

A quick fix to avoid these warning messages would be:
1. # cexec "chown ntp:ntp /etc/ntp"
2. # chown ntp:ntp /var/lib/systemimager/images/oscarimage/etc/
ntp

Any patch on OSCAR scripts/post_rpm_install is welcomed. ;-)

----------------------------------------------------------------------

Comment By: Bernard Li (bernardli)
Date: 2004-12-13 14:40

Message:
Logged In: YES 
user_id=879102

With FC2, the drift file should be at /var/lib/ntp (which is 
correctly owned by ntp user).  The provided ntp.conf by 
OSCAR is wrong.

The ntpconfig package needs to be updated to reflect this 
(possibly a problem with RHEL too?)

See the following thread:

http://groups-
beta.google.com/group/alt.os.linux.suse/browse_thread/thread
/3a8df0814f9a1ab1/baeaa64a5f4ff04e?q=can%27t+open+%
2Fetc%2Fntp%2Fdrift.TEMP:+Permission+denied&_done=%
2Fgroups%3Fhl%3Den%26lr%3D%26q%3Dcan%27t+open+%
2Fetc%2Fntp%2Fdrift.TEMP:+Permission+denied%26btnG%
3DSearch%
26&_doneTitle=Back+to+Search&&d#baeaa64a5f4ff04e

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=1084690&group_id=9368


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to