[MDEV-7319] Galera bootstrap (/etc/init.d/mysql bootstrap) returns code 0 on failure Created: 2014-12-14 Updated: 2015-02-17 Resolved: 2014-12-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | wsrep |
| Affects Version/s: | 10.0.14-galera, 10.0.15-galera |
| Fix Version/s: | 5.5.41-galera, 10.0.16-galera |
| Type: | Bug | Priority: | Major |
| Reporter: | Kenny Rasschaert | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 6 x86_64 |
||
| Description |
|
The /etc/init.d/mysql init script returns a 0 (indicating no error) code on failure when using the bootstrap argument, used for bootstrapping a Galera cluster. I observed this when I was running
and
at the same time To be clear, the bug here is not that it failed in my example, but that it failed and returned 0.
This signals to other tools such as Puppet, Pacemaker or systemd that the MariaDB daemon is running ok while it isn't. |
| Comments |
| Comment by Kenny Rasschaert [ 2014-12-15 ] | |
|
A fix for this issue would be to append
I don't know how to use bzr and going through the contribution guidelines seems overkill for adding one statement to a shell script. Can a regular contributor add this? | |
| Comment by Nirbhay Choubey (Inactive) [ 2014-12-21 ] | |
|
http://bazaar.launchpad.net/~maria-captains/maria/maria-10.0-galera/revision/3908 |