ntpd drift.TEMP file

Lars Gullik Bjønnes larsbj at gullik.net
Sun Mar 6 18:03:26 UTC 2005

mroselinux at eastgranby.k12.ct.us writes:

| Thanks,
| I had driftfile pointing to /etc/ntp and changing it to /var/lib/ntp fixed
| it.  It's a file I've carried forward for at least four years.

You are sure you don't still get the same errors for drift.TEMP?

>> Mine (ntp-4.2.0.a.20040617-6) places the drift file in /var/lib/ntp.
>> /var/lib/ntp seems appropriately labeled ntp_drift_t.

I have the drift file in /var/lib/ntp/drift, but I get selinux errors
for drift.TEMP:

Mar  6 18:51:26 slabber ntpd[26387]: can't open
/var/lib/ntp/drift.TEMP: Permission denied
Mar  6 18:51:26 slabber kernel: audit(1110131486.894:0): avc:  denied
{ dac_override } for  pid=26387 exe=/usr/sbin/ntpd capability=1
scontext=root:system_r:ntpd_t tcontext=root:system_r:ntpd_t

This is an updated FC3 system.


More information about the fedora-selinux-list mailing list