[tor-bugs] #20484 [Core Tor/Tor]: HiddenServiceDir must already exist when making a Single Onion Service

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Oct 28 00:20:58 UTC 2016


#20484: HiddenServiceDir must already exist when making a Single Onion Service
------------------------------+--------------------------------
     Reporter:  pastly        |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.2.9.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Full 0.2.9.4 testing notes are at this [http://bh2lpa5qyawryvk2.onion/
 single onion service].

 {{{
 Oct 27 23:47:13.000 [notice] Tor 0.2.9.4-alpha (git-8b0755c9bb296ae2)
 opening log file.
 Oct 27 23:47:13.501 [notice] Tor 0.2.9.4-alpha (git-8b0755c9bb296ae2)
 running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1t and Zlib
 1.2.8.
 Oct 27 23:47:13.501 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Oct 27 23:47:13.501 [notice] This version is not a stable Tor release.
 Expect more bugs than usual.
 Oct 27 23:47:13.501 [notice] Read configuration file
 "/media/b82d/x76slv/.torclient2/torrc".
 Oct 27 23:47:13.510 [notice] HiddenServiceSingleHopMode is enabled;
 disabling UseEntryGuards.
 Oct 27 23:47:13.510 [warn] HiddenServiceNonAnonymousMode is set. Every
 hidden service on this tor instance is NON-ANONYMOUS. If the
 HiddenServiceNonAnonymousMode option is changed, Tor will refuse to launch
 hidden services from the same directories, to protect your anonymity
 against config errors. This setting is for experimental use only.
 Oct 27 23:47:13.000 [warn] This copy of Tor was compiled or configured to
 run in a non-anonymous mode. It will provide NO ANONYMITY.
 Oct 27 23:47:13.000 [warn] Could not create single onion poison file
 /media/b82d/x76slv/.my-
 apache2-sos/hidden_service/onion_service_non_anonymous
 Oct 27 23:47:13.000 [warn] Failed to mark new hidden services as non-
 anonymous.
 Oct 27 23:47:13.000 [err] set_options(): Bug: Acting on config options
 left us in a broken state. Dying. (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
 }}}

 But if I create the `~/.my-apache2-sos/hidden_service` directory before
 starting Tor, it starts up fine.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20484>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list