[tor-bugs] #13397 [Tor]: tor process cannot process SIGHUP when a relative path to a config file is given

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 13 14:48:44 UTC 2014


#13397: tor process cannot process SIGHUP when a relative path to a config file is
given
--------------------+---------------------
 Reporter:  tom     |          Owner:
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:
Component:  Tor     |        Version:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+---------------------
 Run tor with a relative path to a config file, e.g.

 {{{
 ./tor -f ../etc/tor/torrc
 }}}

 Issue a SIGHUP to it.  It fails with:

 {{{
 Oct 12 21:37:35.000 [notice] Received reload signal (hup). Reloading
 config and resetting internal state.
 Oct 12 21:37:35.000 [warn] Unable to open configuration file "/[obfuscated
 ]/tor-network/dirauth1/var/lib/tor/../etc/tor/torrc.dirauth".
 Oct 12 21:37:35.000 [err] Reading config failed--see warnings above. For
 usage, try -h.
 Oct 12 21:37:35.000 [warn] Restart failed (config error?). Exiting.
 }}}

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


More information about the tor-bugs mailing list