Blame SOURCES/0039-prevent-segfault-when-logging.patch
|
|
0240e4 |
From 6c495a49d444404d0ed3fe910ace58befd2db8dc Mon Sep 17 00:00:00 2001
|
|
|
0240e4 |
From: Andrew Beekhof <andrew@beekhof.net>
|
|
|
0240e4 |
Date: Wed, 18 Nov 2015 08:48:57 +1100
|
|
|
0240e4 |
Subject: [PATCH] Fix: systemd: Prevent segfaul when logging failed operations
|
|
|
0240e4 |
|
|
|
0240e4 |
---
|
|
|
0240e4 |
lib/services/systemd.c | 2 +-
|
|
|
0240e4 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
0240e4 |
|
|
|
0240e4 |
diff --git a/lib/services/systemd.c b/lib/services/systemd.c
|
|
|
0240e4 |
index 3d5a600..a851bc6 100644
|
|
|
0240e4 |
--- a/lib/services/systemd.c
|
|
|
0240e4 |
+++ b/lib/services/systemd.c
|
|
|
0240e4 |
@@ -442,7 +442,7 @@ systemd_exec_result(DBusMessage *reply, svc_action_t *op)
|
|
|
0240e4 |
|
|
|
0240e4 |
/* ignore "already started" or "not running" errors */
|
|
|
0240e4 |
if (!systemd_mask_error(op, error.name)) {
|
|
|
0240e4 |
- crm_err("Could not issue %s for %s: %s (%s)", op->action, op->rsc, error.message);
|
|
|
0240e4 |
+ crm_err("Could not issue %s for %s: %s", op->action, op->rsc, error.message);
|
|
|
0240e4 |
}
|
|
|
0240e4 |
|
|
|
0240e4 |
} else {
|
|
|
0240e4 |
--
|
|
|
0240e4 |
1.8.3.1
|
|
|
0240e4 |
|