Bug 31020

Summary: Не подключается к vnc
Product: Sisyphus Reporter: Chess <slchess>
Component: virt-managerAssignee: Alexey Shabalin <shaba>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: glebfm, sem, shaba
Version: unstable   
Hardware: all   
OS: Linux   
URL: https://www.redhat.com/archives/virt-tools-list/2015-May/msg00018.html

Description Chess 2015-05-20 12:27:19 MSK
--- sshtunnels.py.orig  2015-05-20 12:25:31.489187479 +0300
+++ sshtunnels.py       2015-05-20 12:24:59.432816091 +0300
@@ -48,6 +48,8 @@
             self._connhost = "127.0.0.1"
 
     def _is_listen_localhost(self, host=None):
+        if host:
+            host = socket.gethostbyname(host)
         return ipaddr.IPNetwork(host or self.gaddr).is_loopback
 
     def _is_listen_any(self)
Comment 1 Alexey Shabalin 2015-05-20 14:45:27 MSK
исправлено в virt-manager-1.2.0-alt2