Bug#755483: multipath-tools: Init script status action is useless

Joerg Jaspert joerg at debian.org
Mon Jul 21 09:30:35 UTC 2014


Package: multipath-tools
Version: 0.5.0-1
Severity: important

Dear Maintainer,

the status action of the init script is plenty useless as it hides the
real status code, the one thing that is interesting for any tool using
status to know about it.

As you are sourcing the lsb init-functions, you should just switch and
use the provided function from there, so replacing your existing 3 lines
with

status_of_proc -p /var/run/$NAME.pid $DAEMON $NAME && exit 0 || exit $?

and all is fine. Users can see text, scripts can see exit code.

-- 
bye Joerg



More information about the pkg-lvm-maintainers mailing list