[tor-bugs] #7666 [Stem]: Support TAKEOWNERSHIP command

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 9 10:17:13 UTC 2012


#7666: Support TAKEOWNERSHIP command
-------------------------+--------------------------------------------------
 Reporter:  lunar        |          Owner:  atagar      
     Type:  enhancement  |         Status:  needs_review
 Priority:  normal       |      Milestone:              
Component:  Stem         |        Version:              
 Keywords:               |         Parent:              
   Points:               |   Actualpoints:              
-------------------------+--------------------------------------------------

Comment(by lunar):

 {{{
     runtime_args += ["--__OwningControllerProcess", _get_pid()]
 }}}

 That's absolutely minor, but dropping the '--' would make it easier to
 spot options that are command-line only and those that are configuration
 options.

 > We could make a more restricted launch_tor* method that provides back a
 Controller.

 That's more or less the construct I came up for the Nagios check. See the
 Tor class (lines 40-117) and its usage (lines 165-174) on
 https://paste.debian.net/215197/ ; so this would fit my use case.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7666#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list