Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817398 - app-text/languagetool: start-stop-daemon does not start; forgotten "--" for arguments
Summary: app-text/languagetool: start-stop-daemon does not start; forgotten "--" for a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-10-10 17:27 UTC by Martin Zwicknagl
Modified: 2023-09-25 02:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for languagetool.initd (languagetool.initrd,340 bytes, text/plain)
2021-10-10 17:27 UTC, Martin Zwicknagl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Zwicknagl 2021-10-10 17:27:45 UTC
Created attachment 744342 [details]
patch for languagetool.initd

/etc/init.d/languagetool does not start:

```
/etc/init.d # /etc/init.d/languagetool start
languagetool         | * Caching service dependencies ...                                                                                                                          [ ok ]
languagetool         | * Starting languagetool [server] ...
languagetool         |start-stop-daemon: unrecognized option '--config'
languagetool         |Usage: start-stop-daemon [options] 
languagetool         |
languagetool         |Options: [ I:KN:PR:Sa:bc:d:e:g:ik:mn:op:s:tu:r:w:x:1:2:3:4:ChqVv ]
languagetool         |  -I, --ionice <arg>                Set an ionice class:data when starting
languagetool         |  -K, --stop                        Stop daemon
languagetool         |  -N, --nicelevel <arg>             Set a nicelevel when starting
languagetool         |  -R, --retry <arg>                 Retry schedule to use when stopping
languagetool         |  -S, --start                       Start daemon
languagetool         |  -a, --startas <arg>               deprecated, use --exec or --name
languagetool         |  -b, --background                  Force daemon to background
languagetool         |  -c, --chuid <arg>                 deprecated, use --user
languagetool         |  -d, --chdr <arg>                 Change the PWD
languagetool         |  -e, --env <arg>                   Set an environment string
languagetool         |  -k, --umask <arg>                 Set the umask for the daemon
languagetool         |  -g, --group <arg>                 Change the process group
languagetool         |  -i, --interpreted                 Match process name by interpreter
languagetool         |  -m, --make-pidfile                Create a pidfile
languagetool         |  -n, --name <arg>                  Match process name
languagetool         |  -o, --oknodo                      deprecated
languagetool         |  -p, --pidfile <arg>               Match pid found in this file
languagetool         |  -s, --signal <arg>                Send a different signal
languagetool         |  -t, --test                        Test actions, don't do them
languagetool         |  -u, --user <arg>                  Change the process user
languagetool         |  -r, --chroot <arg>                Chroot to this directory
languagetool         |  -w, --wait <arg>                  Milliseconds to wait for daemon start
languagetool         |  -x, --exec <arg>                  Binary to start/stop
languagetool         |  -1, --stdout <arg>                Redirect stdout to file
languagetool         |  -2, --stderr <arg>                Redirect stderr to file
languagetool         |  -3, --stdout-logger <arg>         Redirect stdout to process
languagetool         |  -4, --stderr-logger <arg>         Redirect stderr to process
languagetool         |  -P, --progress                    Print dots each second while waiting
languagetool         |  -h, --help                        Display this help output
languagetool         |  -C, --nocolor                     Disable color output
languagetool         |  -V, --version                     Display software version
languagetool         |  -v, --verbose                     Run verbosely
languagetool         |  -q, --quiet                       Run quietly (repeat to suppress errors)                                                                                  [ !! ]
languagetool         | * ERROR: languagetool failed to start
```
Comment 1 Aaron W. Swenson gentoo-dev 2022-10-31 14:26:24 UTC
I've run into this myself.

Adding the -- as indicated in the patch does the trick.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-31 20:17:58 UTC
(In reply to Aaron W. Swenson from comment #1)
> I've run into this myself.
> 
> Adding the -- as indicated in the patch does the trick.

Just commit the fix.
Comment 3 Larry the Git Cow gentoo-dev 2023-09-25 02:21:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b476bb3929092b24c5e7e58aab196b1c1c46115

commit 0b476bb3929092b24c5e7e58aab196b1c1c46115
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-25 02:17:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-25 02:18:52 +0000

    app-text/languagetool: fix start-stop-daemon args
    
    Closes: https://bugs.gentoo.org/817398
    Signed-off-by: Sam James <sam@gentoo.org>

 app-text/languagetool/files/languagetool.initd                      | 6 +++---
 .../{languagetool-5.4.ebuild => languagetool-5.4-r1.ebuild}         | 0
 2 files changed, 3 insertions(+), 3 deletions(-)