public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Marek Grác" <marx@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: fence-agents: master - fence_rsa: fix problem with ssh on some machines
Date: Fri, 03 Apr 2009 07:22:00 -0000	[thread overview]
Message-ID: <20090403072128.BA2CB120366@lists.fedorahosted.org> (raw)

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 <mgrac@redhat.com>
AuthorDate:    Fri Apr 3 09:19:04 2009 +0200
Committer:     Marek 'marx' Grac <mgrac@redhat.com>
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


                 reply	other threads:[~2009-04-03  7:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090403072128.BA2CB120366@lists.fedorahosted.org \
    --to=marx@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).