[tor-bugs] #5076 [Tor Bridge]: "Could not setup the environment of the managed proxy" when using init script

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Feb 10 22:30:53 UTC 2012


#5076: "Could not setup the environment of the managed proxy" when using init
script
------------------------+---------------------------------------------------
 Reporter:  asn         |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Bridge  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
Changes (by twilde):

 * cc: twilde@… (added)


Comment:

 Since we have an or_options_t, perhaps if we don't get home_env from the
 environment we could just default it to the data directory Tor is using?
 I don't know the data structures well enough to know if that's actually
 present in the or_options_t, but it seems like it would be a reasonably
 simple fix that wouldn't compromise security/etc in any way (and gets rid
 of any OS-specific startup script hackery).  This would be around line
 1074 or transports.c if I'm reading correctly.

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


More information about the tor-bugs mailing list