[MXS-34] bugzillaId-733: Init-script deletes bin/maxscale Created: 2015-01-17 Updated: 2015-03-19 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 1.0.5 |
| Fix Version/s: | 1.0.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | sami.ahlroos | Assignee: | markus makela |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Description |
|
This is imported from bugzilla item: http://bugs.mariadb.com/show_bug.cgi?id=733 Description Sami Ahlroos 2015-02-17 11:26:42 UTC In function stop, the script is calling "killproc -p $PIDFILE $DAEMON", but should be using $MAXSCALE_PIDFILE. As $PIDFILE is not defined, MaxScale binary ($DAEMON) actually gets deleted. |
| Comments |
| Comment by Dipti Joshi (Inactive) [ 2015-03-10 ] |
|
This is imported from comment history in bugzilla Comment 1 Timofey Turenko 2015-02-17 12:14:17 UTC Comment 2 Sami Ahlroos 2015-02-17 12:24:38 UTC But instead of removing the call to "killproc" changing the parameter $PIDFILE to $MAXSCALE_PIDFILE should fix it. Just like in function start(). "Just like in function reload()" I meant. Comment 4 Massimiliano 2015-02-20 12:07:37 UTC I cannot see the maxscale executable file being deleted. Then I tried $MAXSCALE_PIDFILE instead of $PIDFILE but I got error message:
I found that removing killproc from stop works anyway. Same action as in https://github.com/mariadb-corporation/MaxScale/pull/71/ So that might be applied soon |