mariadb/mariadb-recovery.patch
2017-08-28 20:35:59 +02:00

17 lines
654 B
Diff

Wrong path used for mysqld
rhbz: #1403416
diff -up mariadb-10.1.24/scripts/galera_recovery.sh.mysqldpath mariadb-10.1.24/scripts/galera_recovery.sh
--- mariadb-10.1.24/scripts/galera_recovery.sh.mysqldpath 2017-07-18 18:47:33.993396821 +0200
+++ mariadb-10.1.24/scripts/galera_recovery.sh 2017-07-18 18:48:17.323509332 +0200
@@ -68,7 +68,7 @@ parse_arguments() {
wsrep_recover_position() {
# Redirect server's error log to the log file.
- eval /usr/sbin/mysqld $cmdline_args --user=$user --wsrep_recover \
+ eval @libexecdir@/mysqld $cmdline_args --user=$user --wsrep_recover \
--log-error="$log_file"
ret=$?
if [ $ret -ne 0 ]; then