Shutdown error with ntpd

Michael D. Setzer II mikes at kuentos.guam.net
Mon Jan 24 00:42:16 UTC 2005


On 23 Jan 2005 at 14:59, David Hoffman wrote:

Date sent:      	Sun, 23 Jan 2005 14:59:33 -0600
From:           	David Hoffman <dhoffman2004 at gmail.com>
To:             	For users of Fedora Core releases <fedora-list at redhat.com>
Copies to:      	Subject:        	Re: Shutdown error with ntpd
Send reply to:  	David Hoffman <dhoffman2004 at gmail.com>,
       	For users of Fedora Core releases <fedora-list at redhat.com>
	<mailto:fedora-list-request at redhat.com?subject=unsubscribe>
	<mailto:fedora-list-request at redhat.com?subject=subscribe>

> On Sun, 23 Jan 2005 21:22:57 +1000, Michael D. Setzer II
> <mikes at kuentos.guam.net> wrote:
> > Had to shut the machine down three times to be able to catch the
> > whole error message, since it will not pause.
> > 
> > Shutting down ntpd: audit(1106478493.061:0): avc: denied {write}
> > for pid=2935 exe=/usr/sbin/ntpd name=log dev=tmpfs ino=5739
> > scontext=user_u:system_r:ntpd_t tcontext=user_u:object_r:
> > device_t tclass=sock_file
> > 
> 
> This is an audit error caused by SELinux.
> 
> Try this as root:
> restorecon /usr/sbin/ntpd
> 
> Then try to do the shutdown again... and you may not have to do the
> WHOLE shutdown, you can try to log in as root and then do "service
> ntpd stop" which is what it does when you are doing a shutdown. There
> are other subtle differences, so you could try it either way.
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 

That didn't seem to fix the problem. As a note, I have been able to 
start and stop the ntpd service with this error, it is only when 
watching the system shutdown/restart that it appears. I had this 
restorecon problem earlier with an update, but it happened when 
starting up the machine, and services where not running. 


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
+----------------------------------------------------------+

http://setiathome.berkeley.edu
Number of Seti Units Returned:  15,426
Processing time:  29 years, 354 days, 13 hours, 30 minutes
(Total Hours: 262,550)





More information about the fedora-list mailing list