[tor-bugs] #18370 [Tor]: Apparmor prevents last tor build from starting

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 23 14:30:46 UTC 2016


#18370: Apparmor prevents last tor build from starting
--------------------------+------------------------------------
 Reporter:  Ricky_Martin  |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor           |        Version:  Tor: 0.2.8.1-alpha
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
  Sponsor:                |
--------------------------+------------------------------------

Comment (by lunar):

 In `/etc/apparmor.d/system_tor`, change the following line:
 {{{owner /varlib/tor/** rwk,}}}
 by:
 {{{/var/lib/tor/** rwk,}}}
 and the service should start.

 I think the changes related to `DataDirectory` handling make that it's
 read before switching the user to `debian-tor`, hence AppArmor denied the
 read.

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


More information about the tor-bugs mailing list