|
|
734564 |
From 1ff4ce7cbe58b5309f00ac1bbe124c562b6dcaf6 Mon Sep 17 00:00:00 2001
|
|
|
734564 |
From: David Disseldorp <ddiss@suse.de>
|
|
|
734564 |
Date: Fri, 27 Jul 2018 16:02:26 +0200
|
|
|
734564 |
Subject: [PATCH] CTDB: explicitly use bash shell
|
|
|
734564 |
|
|
|
734564 |
Upcoming recovery lock substring processing is bash specific.
|
|
|
734564 |
|
|
|
734564 |
Signed-off-by: David Disseldorp <ddiss@suse.de>
|
|
|
734564 |
---
|
|
|
734564 |
configure.ac | 1 +
|
|
|
734564 |
heartbeat/{CTDB => CTDB.in} | 2 +-
|
|
|
734564 |
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
734564 |
rename heartbeat/{CTDB => CTDB.in} (99%)
|
|
|
734564 |
|
|
|
734564 |
diff --git a/configure.ac b/configure.ac
|
|
|
734564 |
index 039b4942c..10f5314da 100644
|
|
|
734564 |
--- a/configure.ac
|
|
|
734564 |
+++ b/configure.ac
|
|
|
734564 |
@@ -978,6 +978,7 @@ AC_CONFIG_FILES([heartbeat/slapd], [chmod +x heartbeat/slapd])
|
|
|
734564 |
AC_CONFIG_FILES([heartbeat/sybaseASE], [chmod +x heartbeat/sybaseASE])
|
|
|
734564 |
AC_CONFIG_FILES([heartbeat/syslog-ng], [chmod +x heartbeat/syslog-ng])
|
|
|
734564 |
AC_CONFIG_FILES([heartbeat/vsftpd], [chmod +x heartbeat/vsftpd])
|
|
|
734564 |
+AC_CONFIG_FILES([heartbeat/CTDB], [chmod +x heartbeat/CTDB])
|
|
|
734564 |
AC_CONFIG_FILES([rgmanager/src/resources/ASEHAagent.sh], [chmod +x rgmanager/src/resources/ASEHAagent.sh])
|
|
|
734564 |
AC_CONFIG_FILES([rgmanager/src/resources/apache.sh], [chmod +x rgmanager/src/resources/apache.sh])
|
|
|
734564 |
AC_CONFIG_FILES([rgmanager/src/resources/bind-mount.sh], [chmod +x rgmanager/src/resources/bind-mount.sh])
|
|
|
734564 |
diff --git a/heartbeat/CTDB b/heartbeat/CTDB.in
|
|
|
734564 |
similarity index 99%
|
|
|
734564 |
rename from heartbeat/CTDB
|
|
|
734564 |
rename to heartbeat/CTDB.in
|
|
|
734564 |
index 28e58cea0..7d87a4ef7 100755
|
|
|
734564 |
--- a/heartbeat/CTDB
|
|
|
734564 |
+++ b/heartbeat/CTDB.in
|
|
|
734564 |
@@ -1,4 +1,4 @@
|
|
|
734564 |
-#!/bin/sh
|
|
|
734564 |
+#!@BASH_SHELL@
|
|
|
734564 |
#
|
|
|
734564 |
# OCF Resource Agent for managing CTDB
|
|
|
734564 |
#
|