ntpd vs selinux

Gene Heskett gene.heskett at verizon.net
Sat Jul 1 03:58:47 UTC 2006


Greetings;

It appears that the last selinux update has killed ntpd, as shown from 
my messages log:

Jun 30 22:37:14 diablo ntpd[1936]: sendto(194.145.249.108): Invalid argument
Jun 30 22:38:01 diablo ntpd[1936]: sendto(194.102.249.64): Invalid argument
Jun 30 22:42:04 diablo ntpd[1936]: sendto(193.40.133.134): Invalid argument

I have several pages of the above.

So to get a clean restart, I did a restart, and this error was logged.

Jun 30 22:52:34 diablo ntpd[1936]: ntpd exiting on signal 15
Jun 30 22:52:35 diablo kernel: audit(1151725955.188:14): avc:  denied  { 
read } for  pid=23841 comm="ntpd" name=".fonts.cache-2" dev=hda5 
ino=11556042 scontext=root:system_r:ntpd_t:s0 
tcontext=root:object_r:user_home_t:s0 tclass=file
Jun 30 22:52:35 diablo ntpd[23842]: ntpd 4.2.0a at 1.1196-r Thu May 11 
09:19:35 EDT 2006 (1)
Jun 30 22:52:35 diablo ntpd[23842]: precision = 6.000 usec
Jun 30 22:52:35 diablo ntpd[23842]: Listening on interface wildcard, 
0.0.0.0#123
Jun 30 22:52:35 diablo ntpd[23842]: Listening on interface wildcard, ::#123
Jun 30 22:52:35 diablo ntpd[23842]: Listening on interface lo, 127.0.0.1#123
Jun 30 22:52:35 diablo ntpd[23842]: Listening on interface wlan0, 
192.168.1.105#123
Jun 30 22:52:35 diablo ntpd[23842]: kernel time sync status 0040
Jun 30 22:52:36 diablo ntpd[23842]: frequency initialized -14.140 PPM 
from /var/lib/ntp/drift

I assume something in yesterdays selinux update has done this, but I've 
now forgotten the magic phrase to invoke from the cli to cause a fix.

Can someone refresh my memory?

-- 
Cheers, Gene




More information about the users mailing list