Attached is a patch for pgsql to fix the problem with access to the
/var/lib/heartbeat/cores/root directory at runtime.

-- 
Serge Dubrouski.
diff -r 7200186935f1 heartbeat/pgsql
--- a/heartbeat/pgsql	Tue Aug 31 17:01:39 2010 +0900
+++ b/heartbeat/pgsql	Wed Sep 01 10:42:25 2010 -0600
@@ -229,7 +229,7 @@
 		shift 1
 	}
     
-    ocf_run $quietrun su $OCF_RESKEY_pgdba -c "$*"
+    ocf_run $quietrun su $OCF_RESKEY_pgdba -c "cd $OCF_RESKEY_pgdata; $@"
 }
 
 #
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to