[tor-bugs] #16714 [- Select a component]: Debian package for Ubuntu Precise Pangolin 12.04 provides /etc/init.d/tor with wrong AppArmor configuration

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 3 17:33:00 UTC 2015


#16714: Debian package for Ubuntu Precise Pangolin 12.04 provides /etc/init.d/tor
with wrong AppArmor configuration
----------------------------------+---------------------
 Reporter:  nrbrtx                |          Owner:
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:
Component:  - Select a component  |        Version:
 Keywords:  deb                   |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+---------------------
 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 [http://askubuntu.com/a/537218
 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!

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


More information about the tor-bugs mailing list