Bug#460886: cron: Fails to stop because of incorrect .pid file name

2008-01-15 Thread Frans Pop
Package: cron Version: 3.0pl1-102 Severity: serious This is a bit of a follow-up to #460514. The cron init script fails when called with 'stop': $ ps ax | grep cron 3562 ?Ss 0:00 /usr/sbin/cron $ cat /var/run/crond.pid 3562 $ sudo /etc/init.d/cron stop Stopping periodic command

Bug#460886: cron: Fails to stop because of incorrect .pid file name

2008-01-15 Thread Javier Fernandez-Sanguino
2008/1/15, Frans Pop [EMAIL PROTECTED]: Seems like the error is in this line: PIDFILE=/var/run/cron.pid which should probably be PIDFILE=/var/run/crond.pid Aggh a typo. I hate that. I will fix that ASAP (i.e. today) Which makes me wonder if [ -e /etc/cron.pid ] PIDFILE=/etc/cron.pid