[K12OSN] ntpd SELinux problem -Solved

mrok12osn at eastgranby.k12.ct.us mrok12osn at eastgranby.k12.ct.us
Mon Jan 24 02:59:12 UTC 2005


I had driftfile point to /etc/ntp rather than /var/lib/ntp.



> 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
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list