[tor-bugs] #1989 [Tor bundles/installation]: Tor in OS X bundle uses wrong path for geoip file

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Oct 24 22:17:26 UTC 2010


#1989: Tor in OS X bundle uses wrong path for geoip file
--------------------------------------+-------------------------------------
 Reporter:  Tas                       |       Owner:  erinn              
     Type:  defect                    |      Status:  assigned           
 Priority:  normal                    |   Milestone:  Tor: 0.2.2.x-final 
Component:  Tor bundles/installation  |     Version:  Tor: 0.2.2.15-alpha
 Keywords:  help                      |      Parent:                     
--------------------------------------+-------------------------------------

Comment(by arma):

 Replying to [comment:9 arma]:
 > Another cheap solution would be to build the tor binary that goes in the
 os x vidalia bundle with a hard-coded sharedir which is the place where we
 put geoip, polipo.conf, etc. That would solve the immediate problem.

 I think this is the short-term hack that we should do. The OS X Vidalia
 bundle will already fail if they install it to anywhere other than the
 directory we expect them to install it to, because the polipo paths will
 be wrong. So why not assume just one more hard-coded path. :/

 > How does OS X TBB solve this? As Sebastian says, it needs to have its
 paths be relative to where you're running it from. Does OS X TBB still use
 a hard-coded polipo config file location?

 The answer is that the paths specified in the vidalia.conf file are
 relative. So we should just make sure that the Tor built for the OS X TBB
 has a sharedir arg set during ./configure to point to the directory that
 we put the geoip file. Done.

 (As a side note here, it means that on OS X, the Tor binary in the Vidalia
 bundle will differ from the Tor binary in the TBB. Steven was wondering
 earlier today (wrt Windows) why they would need to be different.

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


More information about the tor-bugs mailing list