File pacemaker-mcp-logfacility.patch of Package pacemaker

commit 78ff77a2f6053cccdc940c72018c130f85adcd5d
Author: Kazunori INOUE <kazunori.inoue3@gmail.com>
Date:   Tue Sep 2 11:52:44 2014 +0900

    Low: mcp: set environment variable which the cluster-glue module needs

diff --git a/mcp/corosync.c b/mcp/corosync.c
index 24f5c22..24f3ba2 100644
--- a/mcp/corosync.c
+++ b/mcp/corosync.c
@@ -451,6 +451,12 @@ mcp_read_config(void)
         free(syslog_facility);
     }
 
+    const_value = daemon_option("logfacility");
+    if (const_value) {
+        /* cluster-glue module needs HA_LOGFACILITY */
+        setenv("HA_LOGFACILITY", const_value, 1);
+    }
+
 #if HAVE_CONFDB
     confdb_finalize(config);
 #elif HAVE_CMAP