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

Dont remove maxscale binary when stopping via init.d #71

Closed
wants to merge 2 commits into from

Conversation

zytek
Copy link

@zytek zytek commented Feb 13, 2015

No description provided.

Because of nonexistent $PIDFILE variagle binary was removed when stopping MaxScale.
Delete this line as maxscale will be stopped by maxscale_wait_stop
Because of nonexistent $PIDFILE variagle binary was removed when stopping MaxScale.
Delete this line as maxscale will be stopped by maxscale_wait_stop
@zytek
Copy link
Author

zytek commented Feb 13, 2015

Sorry for the double commit but had to do this via GitHub UI.

Nice surprise when evaluating MaxScale. 💥
FYI this was spotted on Ubuntu 12.04.

@zytek zytek changed the title Dont remove binary Dont remove maxscale binary when stopping via init.d Feb 13, 2015
@knowak
Copy link

knowak commented Feb 13, 2015

Nice find... :trollface:

@zytek
Copy link
Author

zytek commented Feb 13, 2015

Ouch, I see this was reported 4 months ago... 👎

#56

@markus456
Copy link
Contributor

Closing, bug is fixed

@markus456 markus456 closed this Mar 19, 2015
@zytek
Copy link
Author

zytek commented Mar 19, 2015

@markus456 I still see offending $PIDFILE variable in the repo, could you elaborate how it was fixed ? It works fine on Ubuntu Trusty, but removes binary on Ubuntu Precise

@markus456
Copy link
Contributor

It is fixed in the next release (the develop branch).

@kolbe
Copy link
Contributor

kolbe commented Mar 19, 2015

This wouldn't be a problem if you properly-quoted the variable expansions. You should always quote variable expansions in shell. So, this should be:

killproc -p "$PIDFILE" "$DAEMON"

liangg added a commit to airbnb/MaxScale that referenced this pull request Oct 13, 2016
…server_stats_json_fix

[DBProxy] Fix server stats export json format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants