Re: [CentOS] Centos7 & Selinux & Tor

2018-10-23 Thread Robin Lee
On Tue, 2018-10-23 at 14:54 -0400, Daniel Walsh wrote: > Most likely this is tor running as root and trying to access this > file. I'm trying to start tor using 'systemctl start tor' and I haven't touched any systemd file. What I get in the logs when I try to start is polkitd[1097]: Registered A

Re: [CentOS] Centos7 & Selinux & Tor

2018-10-23 Thread Daniel Walsh
On 10/23/18 2:49 PM, Robin Lee wrote: > On Sun, 2018-10-14 at 20:13 +0200, Robin Lee wrote: >> I've just encountered a problem starting tor. When I do 'systemctl >> start tor' it fails and I get selinux errors in the log. There was >> suggestion to do full auditing with 'auditctl -w /etc/shadow -p

Re: [CentOS] Centos7 & Selinux & Tor

2018-10-23 Thread Robin Lee
On Sun, 2018-10-14 at 20:13 +0200, Robin Lee wrote: > I've just encountered a problem starting tor. When I do 'systemctl > start tor' it fails and I get selinux errors in the log. There was > suggestion to do full auditing with 'auditctl -w /etc/shadow -p w'. > Which I did and it gave the following

Re: [CentOS] Centos7 & Selinux & Tor

2018-10-15 Thread Robin Lee
On Sun, 2018-10-14 at 20:13 +0200, Robin Lee wrote: > I've just encountered a problem starting tor. When I do 'systemctl > start tor' it fails and I get selinux errors in the log. I explored this a bit further. I moved away the /var/lib/tor/hidden_service directory. Then I started tor and now it

[CentOS] Centos7 & Selinux & Tor

2018-10-14 Thread Robin Lee
I've just encountered a problem starting tor. When I do 'systemctl start tor' it fails and I get selinux errors in the log. There was suggestion to do full auditing with 'auditctl -w /etc/shadow -p w'. Which I did and it gave the following type=PROCTITLE msg=audit(1539540150.692:60570): proctitle=