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