ports/databases/mariadb104-server/files/patch-scripts_wsrep__sst__rsync.sh
Bernard Spil 154220702c databases/mariadb104-server: Fix galera clustering
* Fix clustering script [1]
 * Fix clustering dependencies [1]
 * Remove no-op REINPLACECMD [2]
 * Fix paths on pam_user_map and its config [3]

Submitted by:	Peter M. Hauesen [1], mfechner [2], mat [3]
MFH:		2020Q2
2020-05-21 19:08:52 +00:00

18 lines
415 B
Bash

--- scripts/wsrep_sst_rsync.sh.orig 2020-05-09 19:28:00 UTC
+++ scripts/wsrep_sst_rsync.sh
@@ -390,7 +390,14 @@ EOF
elif [ "$WSREP_SST_OPT_ROLE" = "joiner" ]
then
- wsrep_check_programs lsof
+ case $OS in
+ FreeBSD)
+ wsrep_check_programs sockstat
+ ;;
+ *)
+ wsrep_check_programs lsof
+ ;;
+ esac
touch $SST_PROGRESS_FILE
MYSQLD_PID=$WSREP_SST_OPT_PARENT