[Debian-ha-commits] [crmsh] 01/01: Use bash for crm report script

Valentin Vidic vvidic-guest at moszumanska.debian.org
Wed Nov 2 13:26:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

vvidic-guest pushed a commit to branch master
in repository crmsh.

commit ce176aba98bfede633cb87fae20af35499ea7189
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Wed Nov 2 14:25:14 2016 +0100

    Use bash for crm report script
    
    Revert when upstream fixes the issue.
---
 debian/patches/0008-Use-bash-for-crm-report.patch | 18 ++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/0008-Use-bash-for-crm-report.patch b/debian/patches/0008-Use-bash-for-crm-report.patch
new file mode 100644
index 0000000..8f4976e
--- /dev/null
+++ b/debian/patches/0008-Use-bash-for-crm-report.patch
@@ -0,0 +1,18 @@
+From: Valentin Vidic <Valentin.Vidic at CARNet.hr>
+Subject: crm report script does not work with dash
+
+ The problem seems to be with backticks returning multiple values:
+ # crm report -f 2am -M -E /var/log/syslog -d -s -Z
+ /usr/share/crmsh/hb_report/hb_report: 480: local: /var/log/syslog.1: bad variable name
+
+Bug: https://github.com/ClusterLabs/crmsh/issues/164
+Last-Update: 2016-11-02
+
+--- a/hb_report/hb_report.in
++++ b/hb_report/hb_report.in
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ # Copyright (C) 2007 Dejan Muhamedagic <dmuhamedagic at suse.de>
+ # See COPYING for license information.
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 7e588f1..ed074bc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0005-Fix-privacy-breach-generic-caused-by-atom-xml-templa.patch
 0006-Fix-privacy-breach-generic-caused-by-youtube-iframe.patch
 0007-pygmentize-lexer.patch
+0008-Use-bash-for-crm-report.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/crmsh.git



More information about the Debian-HA-Commits mailing list