[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] ntpd SELinux problem



I've built a samba server using the k12ltsp 4.2 iso's.  The following is
appearing in messages.

Jan 21 01:55:14 admin ntpd[9988]: can't open /etc/ntp/drift.TEMP:
Permission denied
Jan 21 01:55:14 admin kernel: audit(1106290514.375:0): avc:  denied  {
write } for  pid=9988 exe=/usr/sbin/ntpd name=ntp dev=hda3 ino=3392705
scontext=root:system_r:ntpd_t tcontext=system_u:object_r:etc_t tclass=dir

The ownership of the /etc/ntp directory and all files in it is ntp.ntp.

If I change SELinux to Permissive, then the drift.TEMP file is created.

Is there something else that I need to do to allow ntpd to update the
drift file with SELinux set to Enforcing?

Mark Orenstein
East Granby, CT School System


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]