[tor-commits] [stem/master] Gentoo doesn't have any connection resolvers

atagar at torproject.org atagar at torproject.org
Wed Dec 10 16:46:15 UTC 2014


commit ec293c08abaa4502876e98b5dbd277dfff33dd0b
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Dec 10 08:40:16 2014 -0800

    Gentoo doesn't have any connection resolvers
    
    Well... damn. Looks like Gentoo doesn't have any connection resolvers we can
    use...
    
      https://trac.torproject.org/projects/tor/ticket/13904#comment:17
---
 stem/util/connection.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/stem/util/connection.py b/stem/util/connection.py
index c94b6fe..feb1b34 100644
--- a/stem/util/connection.py
+++ b/stem/util/connection.py
@@ -255,6 +255,8 @@ def system_resolvers(system = None):
     resolvers = []
   elif system in ('Darwin', 'OpenBSD'):
     resolvers = [Resolver.LSOF]
+  elif stem.util.system.is_gentoo():
+    resolvers = []
   elif system == 'FreeBSD':
     # Netstat is available, but lacks a '-p' equivilant so we can't associate
     # the results to processes. The platform also has a ss command, but it



More information about the tor-commits mailing list