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

deb's init script not waiting for pid before exiting #16717

Closed
biolds opened this issue Feb 18, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@biolds
Copy link

commented Feb 18, 2016

In the debian init script, here:
https://github.com/elastic/elasticsearch/blob/master/distribution/deb/src/main/packaging/init.d/elasticsearch#L174

The check does not work as expected and exits before the pid file is filled.
xargs exit successfully because nothing is sent to it's stdin:

$ cat /dev/null | xargs kill -0 ; echo $?
0

biolds added a commit to biolds/elasticsearch that referenced this issue Feb 18, 2016

nik9000 added a commit that referenced this issue Feb 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.