Comment 9 for bug 1099783

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

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.