[Debian-ha-maintainers] SDB default file and Pacemaker

Ferenc Wágner wferi at niif.hu
Fri May 6 09:21:25 UTC 2016


Hi,

At the moment I patch Pacemaker like

--- a/mcp/pacemaker.service.in
+++ b/mcp/pacemaker.service.in
@@ -24,6 +24,7 @@ KillMode=process
 NotifyAccess=main
 EnvironmentFile=- at sysconfdir@/sysconfig/pacemaker
 EnvironmentFile=- at sysconfdir@/sysconfig/sbd
+EnvironmentFile=- at sysconfdir@/default/pacemaker
 SuccessExitStatus=100

Shall I add /etc/default/sbd as well?

Also, could you please explain what's behind f9a01a792ec (quoted below)
in the sbd packaging repo?

Subject: d/sbd.default fix SBD_PACEMAKER.

true / false needs to be encapsulated in quotation marks, otherwise
pacemaker will show "have-watchdog: false".
---
 debian/sbd.default | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/sbd.default b/debian/sbd.default
index 077805f..798c4a7 100644
--- a/debian/sbd.default
+++ b/debian/sbd.default
@@ -5,4 +5,4 @@ SBD_OPTS="-W"
 # watchdog device to be used
 #SBD_WATCHDOG_DEV="/dev/watchdog"
 # pacemaker support
-#SBD_PACEMAKER=false
\ No newline at end of file
+#SBD_PACEMAKER="false"
\ No newline at end of file
-- 
Thanks,
Feri



More information about the Debian-ha-maintainers mailing list