Add read rights to /etc/my.cnf.d/* on test VMs
In some configs /etc/my.cnf.d/* files access rights are very limited and server can not read configuration. It leads to broken settings and unability to setup replication during the test
This commit is contained in:
parent
6edbd52324
commit
d82a90e27f
@ -1367,7 +1367,8 @@ int Mariadb_nodes::prepare_server(int i)
|
||||
// Note: These should be done by MDBCI
|
||||
ssh_node(i, "test -d /etc/apparmor.d/ && "
|
||||
"ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/usr.sbin.mysqld && "
|
||||
"sudo service apparmor restart", true);
|
||||
"sudo service apparmor restart && "
|
||||
"chmod a+r -R /etc/my.cnf.d/*", true);
|
||||
|
||||
int ec;
|
||||
char* version = ssh_node_output(i, "/usr/sbin/mysqld --version", false, &ec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user