Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE12
pacemaker
pacemaker-mcp-logfacility.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor