[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
Sat Nov 3 10:07:32 UTC 2018


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

Comment (by arma):

 Seems like we should either look at DataDirectory_option in
 warn_about_relative_paths(), or call validate_data_directories() earlier
 in options_validate(). My first thought is that the former is better
 (especially to fix the regression).

 Also, it would probably be wise to think about what sort of unit test
 would have caught this.

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


More information about the tor-bugs mailing list