[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #17928 [Tor]: Warnings in syslog for wrong permissions on hidden service dir are misleading
#17928: Warnings in syslog for wrong permissions on hidden service dir are
misleading
---------------------------------+---------------------------------
Reporter: throwaway232344 | Owner:
Type: enhancement | Status: new
Priority: Very Low | Milestone:
Component: Tor | Version: Tor: 0.2.7.5
Severity: Trivial | Keywords: logging permissions
Actual Points: | Parent ID:
Points: | Sponsor:
---------------------------------+---------------------------------
I had the wrong permissions on my hidden service directory which caused
the tor service to fail starting. Logging doesn't work when the
permissions are not set properly, so I could only get info from the
syslog. I see the following errors:
Dec 24 00:46:28 ArchLaptop tor[7297]: Dec 24 00:46:28.460 [notice] Read
configuration file "/etc/tor/torrc".
Dec 24 00:46:28 ArchLaptop tor[7297]: Dec 24 00:46:28.465 [warn]
Permissions on directory /home/merito/hidden_service/ are too permissive.
Dec 24 00:46:28 ArchLaptop tor[7297]: Dec 24 00:46:28.465 [warn] Failed to
parse/validate config: Failed to configure rendezvous options. See logs
for details.
Dec 24 00:46:28 ArchLaptop tor[7297]: Dec 24 00:46:28.465 [err] Reading
config failed--see warnings above.
Dec 24 00:46:28 ArchLaptop systemd[1]: tor.service: Main process exited,
code=exited, status=1/FAILURE
Maybe the log entry on the permissions for the directory should be of
level err? A warning seems to suggest that this is acceptable, so I tried
to find an issue in the parsing of the config, thinking there might be
some kind of complicated problem with configuring rendezvous options.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17928>
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