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

Re: restorecond won't die



On Sat, 2006-07-15 at 21:49 -0500, Jay Cliburn wrote:
> On logout of current rawhide, I notice restorecond fails to stop.  It
> also fails to stop when issued the command 'service restorecond
> restart'.  This is because the pid in /var/run/restorecond.pid is one
> less than the actual pid, so the killproc() function
> in /etc/init.d/functions can't find the pid to kill.  
> 
> [root osprey ~]# cat /var/run/restorecond.pid 
> 2302
> [root osprey ~]# ps -ef | grep restorecond | grep -v grep
> root      2303     1  0 21:35 ?        00:00:00 /usr/sbin/restorecond
> 
> Hand editing /var/run/restorecond.pid to make the value match the
> running pid results in a successful restart.  
> 
> The end result of this problem is a new restorecond for every 'service
> restorecond restart' invocation, since the 'stop' fails and the 'start'
> succeeds.
> 

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199045


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