[tor-bugs] #16782 [Tor]: systemd unit file is not compatible with the AppArmorProfile= directive

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Oct 25 15:28:15 UTC 2015


#16782: systemd unit file is not compatible with the AppArmorProfile= directive
-------------------------------+------------------------------
 Reporter:  intrigeri          |          Owner:
     Type:  defect             |         Status:  new
 Priority:  Medium             |      Milestone:  Tor: 0.2.???
Component:  Tor                |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:  systemd, apparmor  |  Actual Points:
Parent ID:                     |         Points:
  Sponsor:                     |
-------------------------------+------------------------------
Changes (by cypherpunks):

 * severity:   => Normal


Comment:

 Hi,
 I am updating several nodes from Ubuntu 15.04 with Tor 0.2.6.7 or 0.2.6.10
 (from Tor experimental repo) to Ubuntu 15.10 with Tor 0.2.7.4-rc
 (experimental repo as well). On some nodes this works great, but on others
 Tor doesn't start afterwards with the error systemd[12345]:
 tor at default.service: Failed at step APPARMOR spawning /usr/bin/tor: No
 such file or directory in the syslog.
 Purging Tor and reinstalling doesn't change anything. Where would I have
 to add ReadWriteDirectories=-/proc? In /lib/systemd/system/tor.service or
 in /etc/apparmor.d/system_tor or /etc/apparmor.d/abstractions/tor? The
 output of "systemctl status tor" seems to be fine and nothing at all is
 written to the Tor logfile. Any ideas?

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


More information about the tor-bugs mailing list