[tor-bugs] #22101 [Core Tor/Tor]: Can't have relative DataDirectory with CookieAuthentication enabled
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jun 26 21:31:22 UTC 2017
#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):
Replying to [comment:26 arma]:
> But! I have a fine 'state' file sitting in ./datadir-3hop/
>
> And that appears to be written, in or_state_save(), using
{{{get_datadir_fname("state")}}}.
>
> So now I'm just confused.
>
> I think we might want to do a full refactoring here. (Easy for me to
say.)
Ah ha!
{{{
Jun 26 17:26:56.000 [warn] Unable to write state to file "./datadir-
3hop/state"; will try again later
}}}
I guess Tor wrote a state file before it did the chdir, and then after the
chdir it tried to write the other state file location and failed.
Ok, my theory remains intact!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22101#comment:27>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list