[tor-bugs] #6996 [Obfsproxy]: Problems with starting managed Obfsproxy server when installed via debian package and with Tor as service

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 6 00:00:06 UTC 2012


#6996: Problems with starting managed Obfsproxy server when installed via debian
package and with Tor as service
-----------------------+----------------------------------------------------
 Reporter:  linda      |          Owner:  asn             
     Type:  defect     |         Status:  new             
 Priority:  normal     |      Milestone:                  
Component:  Obfsproxy  |        Version:  Tor: 0.2.3.22-rc
 Keywords:             |         Parent:                  
   Points:             |   Actualpoints:                  
-----------------------+----------------------------------------------------

Comment(by Christian):

 Thanks! I've come accross an [https://lists.torproject.org/pipermail/tor-
 commits/2012-March/040794.html AppArmor profile], but this did not work.
 The line above did ''almost'' work, but AppArmor complained:

 {{{
 AppArmor parser error for /etc/apparmor.d/system_tor in
 /etc/apparmor.d/local/system_tor at line 4: \
  Invalid mode, 'x' must be preceded by exec qualifier 'i', 'p', 'c', or
 'u'
 }}}

 So I replaced "rx" ("read", "execute") with "ix" ("inherit execute"):

 {{{
 $ cat /etc/apparmor.d/local/system_tor
         /usr/bin/obfsproxy ix,

 $ apparmor_parser --version
 AppArmor parser version 2.7.102
 Copyright (C) 1999-2008 Novell Inc.
 Copyright 2009-2012 Canonical Ltd.
 }}}

 Now tor can be started with the init script again and obfsproxy is started
 too. Yay! :)

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


More information about the tor-bugs mailing list