[tor-bugs] #33757 [Core Tor/Tor]: Fix log message when multiple tors try the same data directory

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 30 07:23:33 UTC 2020


#33757: Fix log message when multiple tors try the same data directory
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.4.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.4.2.7
 Severity:  Normal                               |     Resolution:
 Keywords:  044-should, 035-backport-maybe, 041  |  Actual Points:
  -backport-maybe, 042-backport, 043-backport    |
Parent ID:                                       |         Points:  1
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Description changed by teor:

Old description:

> When a user launches two tor processes in the same data directory, they
> get these confusing logs:
> {{{
> Mar 29 17:45:08.000 [warn] It looks like another Tor process is running
> with the same data directory.  Waiting 5 seconds to see if it goes away.
> Mar 29 17:45:13.000 [err] No, it's still there.  Exiting.
> Mar 29 17:45:13.000 [err] set_options(): Bug: Acting on config options
> left us in a broken state. Dying. (on Tor 0.4.2.7 )
> Mar 29 17:45:13.000 [err] Reading config failed--see warnings above.
> Mar 29 19:55:41.000 [notice] Catching signal TERM, exiting cleanly.
> }}}
>
> I don't think the bug log should be there.

New description:

 When a user launches two tor processes in the same data directory, they
 get these confusing logs:
 {{{
 Mar 29 17:45:08.000 [warn] It looks like another Tor process is running
 with the same data directory.  Waiting 5 seconds to see if it goes away.
 Mar 29 17:45:13.000 [err] No, it's still there.  Exiting.
 Mar 29 17:45:13.000 [err] set_options(): Bug: Acting on config options
 left us in a broken state. Dying. (on Tor 0.4.2.7 )
 Mar 29 17:45:13.000 [err] Reading config failed--see warnings above.
 Mar 29 19:55:41.000 [notice] Catching signal TERM, exiting cleanly.
 }}}

 Full logs:
 https://lists.torproject.org/pipermail/tor-relays/2020-March/018306.html

 I don't think the bug log should be there.

--

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


More information about the tor-bugs mailing list