[Buildroot] [PATCH v2] package/transmission: fix sysv init script (name vs. exec)

Peter Seiderer ps.report at gmx.net
Sun Mar 21 15:19:52 UTC 2021


Hello Peter,

On Fri, 19 Mar 2021 23:04:56 +0100, Peter Korsgaard <peter at korsgaard.com> wrote:

> >>>>> "Peter" == Peter Seiderer <ps.report at gmx.net> writes:
>
>  > - fix sysv init script in case package start-stop-daemon is
>  >   enabled
>
>  > Fixes:
>
>  >   - https://bugs.busybox.net/show_bug.cgi?id=13576
>
>  >   $ /etc/init.d/S92transmission stop
>  >   Stopping bittorrent client transmission-daemon...
>  >   start-stop-daemon: warning: this system is not able to track process names
>  >   longer than 15 characters, please use --exec instead of --name.
>
>  > Reported-by: ingineru_de_sistem at yahoo.com
>  > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
>  > ---
>  > Changes v1 -> v2:
>  >   - add reported-by and reference to bug entry
>
> Committed to 2020.02.x, 2020.11.x and 2021.02.x, thanks.
>
> grepping the source tree, it looks like we have a similar issue in
> rng-tools:
>
> git grep 'start-stop-daemon.*-K.*-n'
> package/rng-tools/S21rngd:      if start-stop-daemon -K -q -s KILL -p "${PID_FILE}" -n "${NAME}"; then

Did not catch it because I grep'ed only for the long version...

>
> Care to send a fix for that as well?
>

Rngd is not affected as the NAME ('rngd') is below the 15 characters limit...,
should I change to exec anyway?

Regards,
Peter


More information about the buildroot mailing list