No error message when fatally failing to open files in DataDirectory
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.
Trac:
Username: sqrt2