[tor-bugs] #28298 [Core Tor/Tor]: Tor 0.3.3.1-alpha resumes allowing RunAsDaemon=1 with relative DataDirectory

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Nov 4 13:00:53 UTC 2018


#28298: Tor 0.3.3.1-alpha resumes allowing RunAsDaemon=1 with relative
DataDirectory
--------------------------+--------------------------------
 Reporter:  arma          |          Owner:  (none)
     Type:  defect        |         Status:  needs_revision
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  regression    |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+--------------------------------
Changes (by teor):

 * status:  new => needs_revision


Comment:

 Replying to [comment:4 arma]:
 > Ok, that above fix is bad, because it will complain when you set
 DataDirectory to e.g. {{{~/.test}}} -- which is actually an absolute path,
 even if it doesn't start with {{{/}}}.

 "~" expansion is a missing feature, not a bug. Your shell does it, many
 other contexts do not. See #28311.

 But you've found another bug in Tor's config handling. On my machine, it
 results in a crash and a spurious call to free(). See #28312.

 Replying to [comment:5 arma]:
 > My {{{bug28298}}} branch has this better fix.
 >
 > But it still lacks unit test improvements. Maybe somebody wants to add
 those?

 Maybe if we fixed #28312, your original solution would work?

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


More information about the tor-bugs mailing list