#22101: Can't have relative DataDirectory with CookieAuthentication enabled ----------------------------------------------+---------------------------- Reporter: pastly | Owner: Jigsaw52 Type: defect | Status: | needs_review Priority: Medium | Milestone: Tor: | 0.3.2.x-final Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: review-group-18, review-group-19 | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: ----------------------------------------------+----------------------------
Comment (by arma): Though. If you change pastly's torrc to no longer include {{{CookieAuthentication 1}}}, Tor starts up, but its log file has a bunch of other complaints, e.g. {{{ Jun 26 17:23:50.000 [warn] Couldn't open "./datadir-3hop/unverified- microdesc-consensus.tmp" (./datadir-3hop/unverified-microdesc-consensus) for writing: No such file or directory Jun 26 17:23:50.000 [warn] Couldn't open "./datadir-3hop/cached-certs.tmp" (./datadir-3hop/cached-certs) for writing: No such file or directory Jun 26 17:23:50.000 [warn] Error writing certificates to disk. Jun 26 17:23:50.000 [warn] Failed to unlink ./datadir-3hop/unverified- microdesc-consensus: No such file or directory }}} It looks like get_datadir_fname() in general can't handle having a relative path for a datadir. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22101#comment:25> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs