[tor-bugs] #24203 [Core Tor/Tor]: AppArmor default config blocks Snowflake from running with system tor (was: 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
Fri Feb 16 09:45:54 UTC 2018


#24203: AppArmor default config blocks Snowflake from running with system tor
--------------------------+----------------------------------
 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:
--------------------------+----------------------------------
Changes (by cypherpunks):

 * status:  needs_information => new


Comment:

 Thanks dcf that was so helpful! 😊

 > what version of Tor Browser did you copy snowflake-client from?

 Since this was 3 months ago I guess I had copied it from a Tor Browser
 7.5a8.

 > And does Snowflake work inside Tor Browser (not with system tor)?

 Yes.

 I already have the [https://packages.ubuntu.com/artful/libatomic1
 libatomic1] package installed so that's not the problem. After retrying
 the steps you followed, I figured out that the missing step was to do,

 {{{
 sudo chmod +rx /usr/bin/snowflake-client
 }}}

 After that system Tor correctly bootstraps and works fine and I can see
 snowflake in the task manager!!! 🎉🎉

 However when I launch `./snowflake-client` from the command line I do get
 the error,

 {{{
 ENV-ERROR no TOR_PT_STATE_LOCATION environment variable
 }}}

 So I had assumed that this may have been the error.

 In any case, the `/etc/apparmor.d/abstractions/tor` changes for snowflake
 are necessary and should be added when #19409 is ready.

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


More information about the tor-bugs mailing list