[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



[2019-03-11 21:51] Axel Beckert <abe@debian.org>
> > I believe it would be reasonable to add '--name $base' into `else'
> > clause. Opinions?
>
> Sounds sane, I just checked that with #924311 (miredo, uses
> start-stop-daemon directly, edited the init script) as well as #924312
> (stunnel4, by editing /lib/lsb/init-functions) and it worked in both
> cases.
>
> Here's the change I made to /lib/lsb/init-functions (as Dmitry already
> suggested):

Okay. Should I NMU or not? Anybody know what is the current status of
maintenance?

> --- /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/')
-- 
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --


Reply to: