[tor-bugs] #3747 [Tor Client]: Tor can't create the ControlPortWriteToFile file if it is to be placed into the not-yet-existant datadir
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Aug 17 15:15:14 UTC 2011
#3747: Tor can't create the ControlPortWriteToFile file if it is to be placed into
the not-yet-existant datadir
------------------------+---------------------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: new
Priority: major | Milestone: Tor: 0.2.2.x-final
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Comment(by nickm):
Replying to [comment:4 chiiph]:
> Replying to [comment:3 nickm]:
> > So, how about we delay all "write the port" stuff until some point in
the process after setuid, and have it include "create parent directory as
needed" ?
> >
>
> How much delay would that be? I'm wondering because we already have a
"race" between tor starting and Vidalia wanting to connect to the
ControlPort.
Far less than a second, I'd expect.
(And if there's already a race, then Vidalia already needs a solution.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3747#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list