FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 02-13-2009, 12:53 PM
Guido GŁnther
 
Default : virt-manager: Hint about ssh-askpass

Hi,
this came in via:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513599
It adds a hint about ssh-askpass if using ssh protocoll fails.
Patch by Sebastian Andrzej Siewior.
Cheers,
-- Guido
diff -r e03490a72a2e src/virtManager/connection.py
--- a/src/virtManager/connection.py Mon Feb 09 14:55:18 2009 -0500
+++ b/src/virtManager/connection.py Fri Feb 13 14:50:42 2009 +0100
@@ -431,13 +431,19 @@
else:
self.state = self.STATE_DISCONNECTED

+ if self.uri.find("+ssh://") > 0:
+ hint = "
Maybe you need to install ssh-askpass " +
+ "in order to authenticate."
+ else:
+ hint = ""
+
(_type, value, stacktrace) = open_error
# Detailed error message, in English so it can be Googled.
self.connectError =
("Unable to open connection to hypervisor URI '%s':
" %
str(self.uri)) +
str(_type) + " " + str(value) + "
" +
- traceback.format_exc (stacktrace)
+ traceback.format_exc (stacktrace) + hint
logging.error(self.connectError)

# We want to kill off this thread asap, so schedule a gobject
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 03:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org