Package: needrestart
Version: 3.9-1
Dear developers,
In /etc/needrestart/restart.d/systemd-user, the systemd user instance is
restarted with:
command kill -SIGRTMIN+25 "$pid"
This doesn't work in dash, the kill builtin outputs an error: "kill:
Illegal option -S".
I guess "command" was intended to use the /usr/bin/kill binary instead
of dash's "kill" builtin, but as dash's man page says, "command" ignores
functions (nothing is said about builtins).
Additionally, dash's kill builtin seems to not understand this signal.
I see two solutions:
- replace "command" with "env"
- use the full path /usr/bin/kill
Regards,
--
Raphaël Halimi