Re: Shutdown error with ntpd

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

 



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

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

> On Sun, 23 Jan 2005 21:22:57 +1000, Michael D. Setzer II
> <mikes@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx                            
  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)



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux