Control: clone -1 -2
Control: reassign -2 exim4-base
Control: retitle -2 /etc/init.d/exim4 uses pidofproc wrongly
Control: severity -2 important
Control: block -1 by -2

Hi dear exim4 maintainers,

as the 693688 bug and lsb-base 4.1+Debian9 reveal, /etc/init.d/exim4 uses 
pidofproc from /lib/lsb/init-functions wrongly:

Le lundi, 19 novembre 2012 11.50:02, Didier 'OdyX' Raboud a écrit :
> $ grep pidofproc /etc/init.d/exim4
>   if pidofproc -p "$QRPIDFILE" >/dev/null; then
>   if pidofproc -p "$PIDFILE" >/dev/null; then

pidofproc is documented as follows in the lsb-base README.Debian.gz:

> pidofproc [-p pidfile] pathname
>   Find the process ID of pathname.  If the pidfile is specified, we use the
>   first space-delimited word; otherwise, /bin/pidof is used from the
>   sysvinit package, if available.

The pathname argument is mandatory, see also [0].

Cheers,

OdyX

[0] http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-
generic/iniscrptfunc.html


--
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