[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:02:21 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):

 One good solution would be to add a ShareDir variable to Vidalia's [Tor]
 section, and teach Vidalia how to tell Tor what its sharedir should be as
 a torrc option, and teach Tor how to use the dynamically chosen sharedir
 if it's non-default (with the default being null).

 One cheap solution in the mean time would be to teach Tor how to be told
 by ./configure that its sharedir is its datadir, and change the bundle to
 put geoip into the datadir... but wait, the datadir is ~/.tor/ and the
 bundle doesn't know what ~ will be when you're installing it. Or does it?
 Ugh.

 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.

 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?

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


More information about the tor-bugs mailing list