Opened 19 months ago

Last modified 19 months ago

#26172 new defect

torrc-defaults is not optional

Reported by: cypherpunks Owned by: brade
Priority: Medium Milestone:
Component: Applications/Tor Launcher Version:
Severity: Normal Keywords:
Cc: mcs Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

      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.

Child Tickets

Change History (2)

comment:1 Changed 19 months ago by cypherpunks

Summary: geoipFile and geoip6File cloned from optional torrcDefaultsFiletorrc-defaults is not optional

comment:2 Changed 19 months ago by mcs

Cc: mcs added
Note: See TracTickets for help on using tickets.