[tor-bugs] #24203 [Core Tor/Tor]: Snowflake can't be configured to run with system tor: ENV-ERROR no TOR_PT_STATE_LOCATION environment variable

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Dec 7 23:28:37 UTC 2017


#24203: Snowflake can't be configured to run with system tor: ENV-ERROR no
TOR_PT_STATE_LOCATION environment variable
--------------------------+----------------------------------
 Reporter:  cypherpunks   |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:
 Severity:  Major         |     Resolution:
 Keywords:  snowflake     |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by dcf):

 Replying to [comment:3 cypherpunks]:
 > This seems to be the error when trying to launch it:
 >
 > {{{
 > ENV-ERROR no TOR_PT_STATE_LOCATION environment variable
 > }}}

 There might be some other problem in your setup. That ENV-ERROR comes from
 [https://gitweb.torproject.org/pluggable-
 transports/goptlib.git/tree/pt.go?h=0.7#n368 pt.MakeStateDir]. But
 snowflake-client doesn't call pt.MakeStateDir; only snowflake-server does.
 Are you use you copied the client to /usr/bin, and not the server? (Your
 comment:3 refers to /usr/bin/snowflake, but the ticket description refers
 to /usr/bin/snowflake-client.)

 snowflake-server wants access to $TOR_PT_STATE_LOCATION because that's
 where it caches its TLS certificates and keys.

 In any case, the problem is not that the executable was blocked from
 launching, because the error message comes from code inside the pluggable
 transport, not from tor.

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


More information about the tor-bugs mailing list