On CentOS jenkins, this was required
------------------------------------------------------------ revno: 724 committer: Raghavendra D Prabhu <email address hidden> branch nick: trunk-25 timestamp: Mon 2014-04-21 14:16:22 +0530 message: Add the PATH for lsof diff: === modified file 'scripts/wsrep_sst_rsync.sh' --- scripts/wsrep_sst_rsync.sh 2014-04-20 17:19:52 +0000 +++ scripts/wsrep_sst_rsync.sh 2014-04-21 08:46:22 +0000 @@ -25,6 +25,9 @@
. $(dirname $0)/wsrep_sst_common
+# Setting the path for lsof +export PATH="/usr/sbin:/sbin:$PATH" + cleanup_joiner() { wsrep_log_info "Joiner cleanup."
Otherwise, wsrep_sst_rsync was just hanging when lsof (which is /usr/sbin/lsof on CentOS) was not found.
On CentOS jenkins, this was required
------- ------- ------- ------- ------- ------- ------- ------- ---- wsrep_sst_ rsync.sh' wsrep_sst_ rsync.sh 2014-04-20 17:19:52 +0000 wsrep_sst_ rsync.sh 2014-04-21 08:46:22 +0000
revno: 724
committer: Raghavendra D Prabhu <email address hidden>
branch nick: trunk-25
timestamp: Mon 2014-04-21 14:16:22 +0530
message:
Add the PATH for lsof
diff:
=== modified file 'scripts/
--- scripts/
+++ scripts/
@@ -25,6 +25,9 @@
. $(dirname $0)/wsrep_ sst_common
+# Setting the path for lsof usr/sbin: /sbin:$ PATH"
+export PATH="/
+
cleanup_joiner()
{
wsrep_log_info "Joiner cleanup."
Otherwise, wsrep_sst_rsync was just hanging when lsof (which is /usr/sbin/lsof on CentOS) was not found.