From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27021 invoked by alias); 3 Apr 2009 07:22:04 -0000 Received: (qmail 27012 invoked by alias); 3 Apr 2009 07:22:03 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_41,SPF_HELO_PASS X-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_41,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion.fedora.phx.redhat.com Subject: fence-agents: master - fence_rsa: fix problem with ssh on some machines To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: fence-agents.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: b332199a29ecad045384fcd1388c50c66a9f552f X-Git-Newrev: c1e7b808adad13794661f8f0a790c9746a8a782c From: =?utf-8?q?Marek_Gr=C3=A1c?= Message-Id: <20090403072128.BA2CB120366@lists.fedorahosted.org> Date: Fri, 03 Apr 2009 07:22:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00014.txt.bz2 Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=c1e7b808adad13794661f8f0a790c9746a8a782c Commit: c1e7b808adad13794661f8f0a790c9746a8a782c Parent: b332199a29ecad045384fcd1388c50c66a9f552f Author: Marek 'marx' Grac AuthorDate: Fri Apr 3 09:19:04 2009 +0200 Committer: Marek 'marx' Grac CommitterDate: Fri Apr 3 09:19:04 2009 +0200 fence_rsa: fix problem with ssh on some machines We need to ignore configuration file. --- fence/agents/rsa/fence_rsa.py | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/fence/agents/rsa/fence_rsa.py b/fence/agents/rsa/fence_rsa.py index cf736c9..8683e38 100644 --- a/fence/agents/rsa/fence_rsa.py +++ b/fence/agents/rsa/fence_rsa.py @@ -53,9 +53,7 @@ def main(): options["-c"] = ">" # This device will not allow us to login even with LANG=C -# os.unsetenv("LANG") - if "LANG" in os.environ: - del os.environ["LANG"] + options["ssh_options"] = "-F /dev/null" ## ## Operate the fencing device