Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

old start-stop-daemon on SLES 11 does not support chuid #4772

Closed
tmsvn opened this issue Dec 14, 2015 · 2 comments
Closed

old start-stop-daemon on SLES 11 does not support chuid #4772

tmsvn opened this issue Dec 14, 2015 · 2 comments
Labels
status: duplicate A duplicate of another issue

Comments

@tmsvn
Copy link

tmsvn commented Dec 14, 2015

I have a Suse Linux Enterprise Server 11 SP3.
SLES 11 uses thte start-stop-daemon in Version version 0.3.1, 1996-07-19
This version doesnt support the flag --chuid and because of that the Spring Boot fails to start.

Output in /var/log/service.log:

start-stop-daemon: unrecognized option '--chuid'
Try `start-stop-daemon --help' for more information.

Launch file:
/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script

Old start-stop-daemon help output.

$ # start-stop-daemon --help
start-stop-daemon for Debian Linux - small and fast C version written by
Marek Michalkiewicz <[email protected]>, public domain.
version 0.3.1, 1996-07-19

Usage:
    start-stop-daemon -S|--start options ... -- arguments ...
    start-stop-daemon -K|--stop options ...
    start-stop-daemon -H|--help
    start-stop-daemon -V|--version

Options (at least one of --exec|--pidfile|--user is required):
    -x|--exec <executable>       program to start/check if it is running
    -p|--pidfile <pid-file>      pid file to check
    -u|--user <username>|<uid>   stop this user's processes
    -n|--name <process-name>     start/stop processes with this name
    -s|--signal <signal>         signal to send (default 15)
    -t|--test                    test mode, don't do anything
    -o|--oknodo                  exit status 0 (not 1) if nothing done
    -q|--quiet  |  -v, --verbose

Exit status:  0 = done  1 = nothing done (=> 0 if --oknodo)  2 = trouble
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 14, 2015
@wilkinsona
Copy link
Member

Duplicates #4618. We're going to add a flag to opt-out of using start-stop-daemon. See #4732 for details.

@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 14, 2015
@philwebb
Copy link
Member

There's now a useStartStopDaemon option that can be set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants