+++ This bug was initially created as a clone of Bug #2019805 +++
Description of problem:
The Galera package should definitely Require 'procps-ng' package, otherwise, it won't work.
This is reproducible only when not using the '--wsrep-new-cluster' option (So when you want to connect to the cluster with mariadb-server).
Version-Release number of selected component (if applicable):
All versions and all releases
How reproducible:
Always
Steps to Reproduce:
# This needs to be done because it is present in the system (however, users can remove it anytime, so we shouldn't rely on the fact, that it's installed)
1. dnf remove procps-ng -y
2. dnf install galera mariadb-server-galera mariadb
3. Change the config files to the corresponding options
4. systemctl start mariadb
Actual results:
It won't start and will wait to infinity
Expected results:
Start the mariadb-server and connect to the cluster.
Additional info:
When you install the 'procps-ng' package, the 'systemctl start mariadb' process will successfully start the MariaDB server, and everything works as expected
This issue should be resolved in all of the products and versions (RHEL-7,8,9; ...)
Patch should be simple: Just add 'Requires: procps-ng' to the galera spec file
--- Additional comment from Lukas Javorsky on 2021-11-03 11:45:01 UTC ---
Also, Honza spotted that upstream has this requirement in their list of packages that should be required by Galera
https://github.com/codership/galera/blob/3.x/scripts/mysql/centos/mysql-wsrep.list#L24