Package: cron
Version: 3.0pl1-105
Severity: normal

# /etc/init.d/cron status
Checking periodic command scheduler...done (running).
# echo $?
0
# /etc/init.d/cron stop
Stopping periodic command scheduler: cron.
# echo $?
0

Ok, but:

# /etc/init.d/cron status
Checking periodic command scheduler...failed (failed to start).
# echo $?
1

I'd expected to get return code 3. Looking closer:

# ls /var/run/crond.pid
/var/run/crond.pid
# cat /var/run/crond.pid
15510
# ps aux | grep [1]5510
#

Is this by intention? AFAICS it doesn't behave as
LSB requires it to (see
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
for details).

regards,
-mika-



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to