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
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.