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

[tor-bugs] #26172 [Applications/Tor Launcher]: geoipFile and geoip6File cloned from optional torrcDefaultsFile



#26172: geoipFile and  geoip6File cloned from optional torrcDefaultsFile
-------------------------------------------+-------------------
     Reporter:  cypherpunks                |      Owner:  brade
         Type:  defect                     |     Status:  new
     Priority:  Medium                     |  Milestone:
    Component:  Applications/Tor Launcher  |    Version:
     Severity:  Normal                     |   Keywords:
Actual Points:                             |  Parent ID:
       Points:                             |   Reviewer:
      Sponsor:                             |
-------------------------------------------+-------------------
 {{{
       var torrcDefaultsFile =
                     TorLauncherUtil.getTorFile("torrc-defaults", false);
 }}}
 {{{
       var geoipFile = torrcDefaultsFile.clone();
       geoipFile.leafName = "geoip";

       var geoip6File = torrcDefaultsFile.clone();
       geoip6File.leafName = "geoip6";

       var args = [];
       if (torrcDefaultsFile)
       {
         args.push("--defaults-torrc");
         args.push(torrcDefaultsFile.path);
       }
 }}}
 Missed "optional" torrc-defaults file leads to exception and failed Tor
 start with unclear reason for user.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26172>
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