[tor-bugs] #15434 [Core Tor/Tor]: Tor dies if you send it a HUP before it read its config, and doesn't take PTs with it

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Nov 12 03:50:58 UTC 2016


#15434: Tor dies if you send it a HUP before it read its config, and doesn't take
PTs with it
-------------------------------------------------+-------------------------
 Reporter:  TvdW                                 |          Owner:  arma
     Type:  defect                               |         Status:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.2.7.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.6.5-rc
 Severity:  Normal                               |     Resolution:  fixed
 Keywords:  tor-bridge, tor-pt, nickm-           |  Actual Points:
  deferred-20161017                              |
Parent ID:                                       |         Points:  3
 Reviewer:                                       |        Sponsor:
                                                 |  SponsorS-can
-------------------------------------------------+-------------------------
Changes (by arma):

 * status:  accepted => closed
 * resolution:   => fixed
 * milestone:  Tor: 0.3.0.x-final => Tor: 0.2.7.x-final


Comment:

 Ok, I'm going to close this one since #15435 resolved the "and doesn't
 take PTs with it" part.

 I was going to file a separate ticket for "Tor doesn't catch HUP until a
 while after it's started up", but I just looked through the code, and we
 don't register our signal handlers until after we've done our fork(), and
 we don't decide whether to fork() until we've read our torrc to find out
 if we're going to. I guess we could register the handlers before we
 fork... but that is going to get ugly, and we have plenty of more
 important things to do. Please make that ticket if you disagree. :)

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


More information about the tor-bugs mailing list