[Debian-ha-maintainers] Bug#749370: crmsh does not respect EDITOR and/or PAGER
Christian Seiler
christian at iwakd.de
Mon May 26 16:18:53 UTC 2014
Package: crmsh
Version: 1.2.6+git+e77add-1.2
Severity: normal
Tags: patch
Dear Maintainer,
crmsh does not respect EDITOR and/or PAGER, for example when doing
# crm configure edit
This always opens vi/vim instead of the chosen EDITOR environment
variable. (Unless vi/vim is not installed, then it might fall back to
either emacs or nano.)
This is a regression compared to the 'crm' command that was part of the
pacemaker package in Wheezy.
Changing this manually in the installed .py file makes crmsh properly
respect those environment variables.
I've attached a patch that fixes this. (See the opt_program class at
the beginning of the file as to why the $ sign has to be removed.)
Versions of packages crmsh depends on:
ii python 2.7.3-4+deb7u1
ii python-lxml 2.3.2-1
ii python-support 1.0.15
ii python-yaml 3.10-4
Versions of packages crmsh recommends:
ii pacemaker 1.1.11-1
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: respect-EDITOR-and-PAGER.patch
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20140526/edb861c8/attachment.ksh>
More information about the Debian-ha-maintainers
mailing list