[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Problem starting tor after upgrading to ubuntu



 
Installing apparmor-utils should help.
 
After putting tor in complain mode for a while, run aa-logprof
 
It will ask whether you want to permit violations of the existing profile and update it accordingly.
 
Here is a brief tutorial
http://www.insanitybit.com/2012/05/29/apparmor-how-to/
 
Cheers
 
 

Message: 3
Date: Thu, 31 Dec 2015 12:58:46 -0800
From: James Moore <hello@xxxxxxxxx>
To: tor-relays@xxxxxxxxxxxxxxxxxxxx
Subject: [tor-relays] Problem starting tor after upgrading to ubuntu
        15.10 / tor 0.2.7.6
Message-ID: <B2F39C83-0B75-46BB-9803-3057A5CC88E0@xxxxxxxxx>
Content-Type: text/plain; charset=us-ascii

Hello all, I've been running two exits for quote some time now and today I decided to update my OS and tor version but it didn't go too well. I was updating from ubuntu 15.04 / 0.2.6.10 to 15.10 / 0.2.7.6. I'm using the apt feed from

deb http://deb.torproject.org/torproject.org wily main

It appears that something about the AppArmor configuration is incorrect but I don't know enough about systemd/apparmor to properly diagnose it. Here are some log snippets:

http://pastebin.com/8jzEiz3T

It seems to come down to this

tor@xxxxxxxxxxxxxxx: Failed at step EXEC spawning /usr/bin/tor: Operation not permitted

I discovered that commenting out the Hardening section of /lib/systemd/system/tor@xxxxxxxxxxxxxxx get's it working again but I'd prefer not to run out-of-band configuration files. Can anyone shed light on this problem? I'm happy to provide more info.

James

------------------------------

 
 
-- 
 Manager of Bahia del Sol LLC
 
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays