Bug#843419: init-d-script: please provide a way to not use the --name option of start-stop-daemon
Dmitry Bogatov
KAction at debian.org
Sat Feb 23 20:07:43 GMT 2019
control: tags -1 +moreinfo
[2016-11-06 16:04] Ferenc Wágner <wferi at debian.org>
> Package: sysvinit-utils
> Version: 2.88dsf-59
> Severity: wishlist
>
> Dear Maintainer,
>
> start-stop-daemon --name=name-longer-than-15-characters fails on Linux,
> because of the 15-character limit on process names. Other kernels have
> similar but different limits, see the conditionals starting at
> https://anonscm.debian.org/cgit/dpkg/dpkg.git/tree/utils/start-stop-daemon.c#n134
> Looks like executable names longer than 14 characters are incompatible
> with the --name option. (15 works, but can be mistaken for truncated
> longer names.) Currently the only solution is overriding do_start_cmd()
> and do_stop_cmd(). Please proide an easier one.
Sorry, I do not understand. You, as init script writer, choose value of
argument to $NAME. Why can't you limit it to required length?
--
Note, that I send and fetch email in batch, once every 24 hours.
If matter is urgent, try https://t.me/kaction
--
More information about the Debian-init-diversity
mailing list