The unknown status (4) is still be returned from /lib/lsb/init-functions
when the pid file is specified. I plan to do a full bug report
hopefully this week. Just wanted to get this reported in case I don't.
The problem I believe is a bad check for
"specified" pid file in the /lib/lsb/init-functions:

The below should fix the problem:

was:
 if [ -x /bin/pidof -a ! "$specified" ]; then

should be :
if [ -x /bin/pidof -a "$specified" ]; then

This allowed it to report the correct status when the pid file was specified.

Bug #494623 was closed but the problem does appear in the new version
as well as stable.

Thanks,
Keith.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to