tag 679106 moreinfo
thanks

> Apparently, cron doesn't clear the PID file once stopped, so
> subsequent invokations of:
> /etc/init.d/cron stop
> continue to try killing a process of that PID.

For its stop argument, cron uses /lib/lsb/init-functions's killproc. I
believe killproc should remove the pidfile if the processes is killed
properly.

I'm unable to reproduce the behaviour you are seeing. Maybe this is
associated with your environment. In order to diagnose it, I would
appreciate if you could run the following (as root) and send the
output to this bug report (you can use 'script' to capture all the
output to a file). Please ensure first that the cron daemon is
started:

----------------------------------------------------------------
sh -x /etc/init.d/cron stop
ls -la /var/run/cron*
/etc/init.d/cron status
sh -x /etc/init.d/cron stop
ls -la /var/run/cron*
/etc/init.d/cron status
----------------------------------------------------------------


Thanks,

Javier



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to