Debian package for Ubuntu Precise Pangolin 12.04 provides /etc/init.d/tor with wrong AppArmor configuration
Dear Tor developers!
I have Ubuntu Precise Pangolin 12.04.5 installed on my laptop. It has all updates and its integrity is well (debsums -a -s returns nothing).
I have added your repository to my system.
So for apt-cache policy tor I have
tor:
Installed: 0.2.6.10-1~precise+1
Candidate: 0.2.6.10-1~precise+1
Version table:
*** 0.2.6.10-1~precise+1 0
500 http://deb.torproject.org/torproject.org/ precise/main amd64 Packages
100 /var/lib/dpkg/status
0.2.2.35-1 0
500 http://mirror.switch.ch/ftp/mirror/ubuntu/ precise/universe amd64 Packages
But tor does not work - it does not start. Manual restart does not help.
sudo service tor restart
[sudo] password for me:
* Stopping tor daemon... [ OK ]
* Starting tor daemon...
aa-exec: ERROR: profile 'system_tor' does not exist [fail]
I have googled and found a solution on AskUbuntu. User suggests to change /etc/init.d/tor file as recommended on AskUbuntu page:
AA_EXEC_ARGS="--profile=system_tor -- $DAEMON"
to
AA_EXEC_ARGS="-f system_tor -- $DAEMON"
After this change tor is working. Please change this_ /etc/init.d/tor_ file and add this changed one to deb-package(s).
Thank you!
Trac:
Username: nrbrtx