[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #13862 [Tor]: No error message when fatally failing to open files in DataDirectory
#13862: No error message when fatally failing to open files in DataDirectory
-------------------------------------------------+-------------------------
Reporter: sqrt2 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Tor | Version:
Keywords: datadirectory permissions error- | Actual Points:
reporting | Points:
Parent ID: |
-------------------------------------------------+-------------------------
Due to installing packages from conflicting sources, I ended up with a Tor
installation where the tor daemon (with `User toranon`) could access the
DataDirectory, but not open the files in it for lack of permissions.
In this situation, tor exits quickly with only the following messages:
{{{
Nov 30 00:07:12.878 [notice] Tor v0.2.5.10 (git-42b42605f8d8eac2) running
on Linux with Libevent 2.0.18-stable, OpenSSL 1.0.1e-fips and Zlib 1.2.7.
Nov 30 00:07:12.878 [notice] Tor can't help you if you use it wrong! Learn
how to be safe at https://www.torproject.org/download/download#warning
Nov 30 00:07:12.878 [notice] Read configuration file "/usr/share/tor
/defaults-torrc".
Nov 30 00:07:12.878 [notice] Read configuration file "/etc/tor/torrc".
Nov 30 00:07:12.881 [notice] Opening Socks listener on 127.0.0.1:9050
Nov 30 00:07:12.881 [notice] Opening Control listener on 127.0.0.1:9151
Nov 30 00:07:12.881 [notice] Caching new entry toranon for toranon
Nov 30 00:07:12.881 [notice] Caching new entry toranon for toranon
}}}
There are no explicit `Log` directives in torrc.
Except for exit status 1, there is no indication to the user that
something has gone wrong, and what the problem could be. We should print a
helpful error message.
--
Ticket URL: <https://trac.torproject.org:443/projects/tor/ticket/13862>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs