[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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        |   Keywords:  regression
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------
 In 0.3.2.1-alpha we fixed #22731 (in commit 6fea44c6): we started refusing
 to start if RunAsDaemon is set and also any of a variety of config options
 are set to a relative value.

 And then in 0.3.3.1-alpha we did commit 192be006, which split the original
 options->DataDirectory into a new DataDirectory_option variable.

 But warn_about_relative_paths() continues to look at
 {{{
   n +=
 warn_if_option_path_is_relative("DataDirectory",options->DataDirectory);
 }}}

 and that function is called near the top of options_validate() -- before
 we call validate_data_directories() which is what populates
 options->DataDirectory.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28298>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs