[X2Go-Commits] [python-x2go] 01/04: x2go/__init__.py: Avoid ares resolver for now, as it currently is broken in Debian testing.

git-admin at x2go.org git-admin at x2go.org
Thu Sep 6 19:35:04 CEST 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository python-x2go.

commit 6180ace64f5f7eaadba4ca09c43bcfc3ad76e00b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Sep 6 17:11:06 2018 +0000

    x2go/__init__.py: Avoid ares resolver for now, as it currently is broken in Debian testing.
---
 x2go/__init__.py | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/x2go/__init__.py b/x2go/__init__.py
index db60e16..a015033 100644
--- a/x2go/__init__.py
+++ b/x2go/__init__.py
@@ -197,8 +197,15 @@ import os
 from .defaults import X2GOCLIENT_OS
 
 if X2GOCLIENT_OS != 'Windows':
-    # enforce "ares" resolve in gevent (>= 1.0~)...
-    os.environ["GEVENT_RESOLVER"] = "ares"
+    # in Debian unstable, the ares resolver is broken, see
+    # https://bugs.debian.org/908144
+    #os.environ["GEVENT_RESOLVER"] = "ares"
+
+    # we could use the dnspython resolver...
+    #os.environ["GEVENT_RESOLVER"] = "dnspython"
+
+    # however, this is unsupported in Debian 9, so we do nothing here...
+    pass
 
 from gevent import monkey
 monkey.patch_all()

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git


More information about the x2go-commits mailing list