Blame SOURCES/bz1198886-382efe0-hint-lrmd-sd-notify-not-required-4.patch

80850c
From 382efe0f55e9accb30193cbbb80d7c9d423bea25 Mon Sep 17 00:00:00 2001
80850c
From: Andrew Beekhof <andrew@beekhof.net>
80850c
Date: Tue, 21 Apr 2015 08:04:10 +1000
80850c
Subject: [PATCH] Fix: lrmd: Hint to child processes that using sd_notify is
80850c
 not required
80850c
80850c
---
80850c
 lrmd/main.c | 6 ++++++
80850c
 1 file changed, 6 insertions(+)
80850c
80850c
diff --git a/lrmd/main.c b/lrmd/main.c
80850c
index 4c588be..636cf44 100644
80850c
--- a/lrmd/main.c
80850c
+++ b/lrmd/main.c
80850c
@@ -312,6 +312,12 @@ main(int argc, char **argv)
80850c
         }
80850c
     }
80850c
 
80850c
+    /* The presence of this variable allegedly controls whether child
80850c
+     * processes like httpd will try and use Systemd's sd_notify
80850c
+     * API
80850c
+     */
80850c
+    unsetenv("NOTIFY_SOCKET");
80850c
+
80850c
     /* Used by RAs - Leave owned by root */
80850c
     crm_build_path(CRM_RSCTMP_DIR, 0755);
80850c
 
80850c
-- 
80850c
1.8.4.2
80850c