AppArmor kills TOR

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
TomGroves
Level 1
Level 1
Posts: 1
Joined: Sat Feb 11, 2017 4:30 pm

AppArmor kills TOR

Post by TomGroves » Sat Feb 11, 2017 4:36 pm

I'm setting up a new install of Mint 18 Cinnamon. Neither the default Ubuntu TOR or the TORs own repo version will work. Both fail with:

Code: Select all

tor@default.service: Failed at step APPARMOR spawning /usr/bin/tor: No such file or directory
Feb 11 20:22:57 bruce kernel: [  271.946658] audit: type=1400 audit(1486844577.625:12): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="system_tor" pid=5079 comm="(tor)"
in syslog. But /usr/bin/tor does exist:

Code: Select all

$ ls /usr/bin/tor  -l
-rwxr-xr-x 1 root root 2278112 Mar 22  2016 /usr/bin/tor
Running /etc/init.d/tor start does the same. But weirdly, running sudo /usr/bin/tor does work! O'course that's a really bad way to do it...

Any ideas? I've never had to deal with AppArmor before, it's always just worked, and Google gets me nowhere.

User avatar
einpoklum
Level 1
Level 1
Posts: 26
Joined: Sat Dec 24, 2016 5:14 am
Location: Amsterdam

Re: AppArmor kills TOR

Post by einpoklum » Mon Nov 27, 2017 3:38 pm

So, has this been resolved?

Post Reply

Return to “Software & Applications”