restorecond won't die
Jay Cliburn
jacliburn at bellsouth.net
Sun Jul 16 02:49:37 UTC 2006
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 at osprey ~]# cat /var/run/restorecond.pid
2302
[root at 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.
More information about the test
mailing list