diff -r ccc4c0f04e1a lib/plugins/lrm/raexecocf.c
--- a/lib/plugins/lrm/raexecocf.c	Fri Dec 16 03:06:03 2011 +0900
+++ b/lib/plugins/lrm/raexecocf.c	Fri Dec 16 03:08:07 2011 +0900
@@ -148,6 +148,7 @@
 	GString * params_gstring;
 	char * inherit_debuglevel = NULL;
 	int save_errno;
+	char buf_tmp[32+1];
 
 	get_ra_pathname(RA_PATH, rsc_type, provider, ra_pathname);
 
@@ -155,6 +156,14 @@
 	tmp_for_setenv = g_hash_table_new(g_str_hash, g_str_equal);
 	add_OCF_prefix(params, tmp_for_setenv);
 	add_OCF_env_vars(tmp_for_setenv, rsc_id, rsc_type, provider);
+
+	/* timeout set for stop operation */
+	if (STRNCMP_CONST(op_type,"stop") ==0) {
+		snprintf(buf_tmp, sizeof(buf_tmp), "%d", timeout);
+		g_hash_table_replace(tmp_for_setenv, g_strdup("OCF_RESKEY_CRM_meta_timeout"), 
+			    g_strdup(buf_tmp));
+
+	}
 	raexec_setenv(tmp_for_setenv);
 	g_hash_table_foreach_remove(tmp_for_setenv, let_remove_eachitem, NULL);
 	g_hash_table_destroy(tmp_for_setenv);
