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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 23 19:32:51 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 Ricky_Martin):

 Was able to fix issue with adding
 {{{owner /varlib/tor/ r,}}} in /etc/apparmor.d/system_tor
 Possible reason can be that now tor checking directory reading right
 before writing to directory directly.
 After fix tor starting without any problem, by I have warning:
 apparmor="DENIED" operation="open" profile="system_tor" name="/run/tor/"
 pid=45755 comm="tor" requested_mask="r" denied_mask="r"
 I tried adding {{{/{,var/}run/tor/ r,}}} or {{{/run/tor/ r,}}} to
 /etc/apparmor.d/system_tor file, but warning remains.
 Will be great if package will be fixed.

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


More information about the tor-bugs mailing list