Bug#921558: lsb-base: killproc does not pass name parameter to start-stop-daemon

Andreas Metzler <[email protected]> Tue, 12 Mar 2019 07:52:34 +0100
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <20190312065234.GA1483__43604.629479681$1552373841$gmane$org@argenau.bebt.de>
On 2019-03-11 Axel Beckert <[email protected]> wrote:
[...]
> Here's the change I made to /lib/lsb/init-functions (as Dmitry already
> suggested):

> --- /lib/lsb/init-functions~    2018-11-28 20:21:37.000000000 +0100
> +++ /lib/lsb/init-functions     2019-03-11 21:46:41.673767215 +0100
> @@ -141,7 +141,7 @@
>      if [ ! $pidfile ]; then
>          name_param="--name $base --pidfile /var/run/$base.pid"
>      else
> -        name_param="--pidfile $pidfile"
> +        name_param="--name $base --pidfile $pidfile"
>      fi

>      sig=$(echo ${2:-} | sed -e 's/^-\(.*\)/\1/')

> It though wouldn't hurt if e.g. Andreas could check if this change
> would have fixed the issue in exim as well.

Hello Axel,

yes, it would have fixed the exim issue, too.

cu Andreas