<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 10, 2017 at 9:45 PM, teor <span dir="ltr"><<a href="mailto:teor2345@gmail.com" target="_blank">teor2345@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
> On 11 Dec 2017, at 02:17, Aneesh Dogra <<a href="mailto:lionaneesh@gmail.com" target="_blank">lionaneesh@gmail.com</a>> wrote:<br>
><br>
> Hello Everyone,<br>
><br>
> I run a tor exit relay named "rippedlion". I was out for vacation past few days and saw I had a 2 day downtime. I had a look at the logs and apparently /var/lib/tor got detected to be owned as <unknown>? How do I prevent this in future?<br>
><br>
> Snippet from notices.log:<br>
><br>
> Dec 08 06:54:57.000 [warn] Tried to establish rendezvous on non-OR circuit with purpose Acting as rendevous (pending)<br>
> Dec 08 06:56:25.000 [warn] Tried to establish rendezvous on non-OR circuit with purpose Acting as rendevous (pending)<br>
> Dec 08 07:00:21.000 [warn] /var/lib/tor is not owned by this user (root, 0) but by <unknown> (112). Perhaps you are running Tor as the wrong user?<br>
> Dec 08 07:00:21.000 [err] Can't create/check datadirectory /var/lib/tor<br>
> Dec 08 07:00:21.000 [err] Unable to update Ed25519 keys!  Exiting.<br>
<br>
</span>tor thought it was running as root when it logged that message.<br>
Are you sure your tor process doesn't run as root?<br>
Do you have a User option in your torrc or torrc-defaults file?<br>
Does it correspond to user id 112?<br>
<span><br></span></blockquote><div>Yes I *was* running tor as root and after the downtime changed it to a low privileged user.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
> PS: I am now running tor; as a low privledged user that only has access to /var/lib/tor and /var/log/tor.<br>
<br>
</span>I'm not sure what you mean here - have you changed the user that tor<br>
runs as since the downtime?<br>
<br>
T<br>
<br>
--<br>
Tim Wilson-Brown (teor)<br>
<br>
teor2345 at gmail dot com<br>
PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B<br>
ricochet:ekmygaiu4rzgsk6n<br>
xmpp: teor at torproject dot org<br>
------------------------------<wbr>------------------------------<wbr>------------<br>
<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.or<wbr>g</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/c<wbr>gi-bin/mailman/listinfo/tor-re<wbr>lays</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-2368610426549921547gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:12.8000001907349px">Regardless, I hope you're well and happy -</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Aneesh</span><br></div></div></div>
</div></div>