[tor-bugs] #4544 [Tor Directory Authority]: moria1 exits after hup when i add an info-level log to torrc

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Nov 23 11:57:26 UTC 2011


#4544: moria1 exits after hup when i add an info-level log to torrc
-------------------------------------+--------------------------------------
 Reporter:  arma                     |          Owner:                    
     Type:  defect                   |         Status:  new               
 Priority:  major                    |      Milestone:                    
Component:  Tor Directory Authority  |        Version:  Tor: 0.2.3.8-alpha
 Keywords:                           |         Parent:                    
   Points:                           |   Actualpoints:                    
-------------------------------------+--------------------------------------

Comment(by troll_un):

 {{{
 /** Return 1 if any change from <b>old_options</b> to <b>new_options</b>
  * will require us to reinit keys; else return 0. */
 static int
 options_transition_affects_init_keys(const or_options_t *old_options,
                                    const or_options_t *new_options)
 {
   if (!opt_streq(old_options->DataDirectory, new_options->DataDirectory)
 ||
       old_options->ORPort != new_options->ORPort ||
       old_options->ClientOnly != new_options->ClientOnly ||
       public_server_mode(old_options) != public_server_mode(new_options)
 ||
     return 1;

   /* Nothing that changed matters. */
   return 0;
 }
 }}}

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


More information about the tor-bugs mailing list