[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #7677 [Stem]: stem.process.launch_tor() hangs without stdout



#7677: stem.process.launch_tor() hangs without stdout
--------------------+-------------------------------------------------------
 Reporter:  atagar  |          Owner:  atagar
     Type:  defect  |         Status:  new   
 Priority:  minor   |      Milestone:        
Component:  Stem    |        Version:        
 Keywords:          |         Parent:        
   Points:          |   Actualpoints:        
--------------------+-------------------------------------------------------
 If the user has a tor configuration that precludes logging to stdout, such
 as...

 {{{
 tor_process = stem.process.launch_tor_with_config(
   config = {
     'ControlPort': '2778',
     'Log': 'NOTICE file /tmp/tor_log',
   },
 )
 }}}

 ... then the launch_tor() call will never return. This is because it
 checks the initialization output to determine when the process has
 bootstrapped.

 I'm not sure of the best way of handling this. Note the issue in the
 pydocs? Slip in a 'Log NOTICE stdout' option? Skip listening for
 bootstrapping if there's no stdout?

 For now just filing a ticket while trying to sort out other issues.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7677>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs