Do not place debian.cnf when root user not touched
We used to overwrite /etc/mysql/debian.cnf file that is provided by
package when we were resetting root password for mariadb. That was
required as otherwise systemd couldn't manage service properly.
Now, when galera_root_user can be different then root, we don't need to
do this and can rely on defaults.
Reviewed: https:/ /review. opendev. org/c/openstack /openstack- ansible- galera_ server/ +/847546 /opendev. org/openstack/ openstack- ansible- galera_ server/ commit/ 72ffc6d565bea9a 85efa9e1f0fef5a 3f7366ecae
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 72ffc6d565bea9a 85efa9e1f0fef5a 3f7366ecae
Author: Dmitriy Rabotyagov <email address hidden>
Date: Fri Jun 24 10:46:19 2022 +0200
Do not place debian.cnf when root user not touched
We used to overwrite /etc/mysql/ debian. cnf file that is provided by
package when we were resetting root password for mariadb. That was
required as otherwise systemd couldn't manage service properly.
Now, when galera_root_user can be different then root, we don't need to
do this and can rely on defaults.
Change-Id: Ia8305121900d28 aca28a80c6c9d6a 664aec40214
Closes-Bug: #1979726