[tor-bugs] #3123 [Tor bundles/installation]: contrib/torctl script sends SIGHUP without running tor --verify-config first

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri May 6 21:21:49 UTC 2011


#3123: contrib/torctl script sends SIGHUP without running tor --verify-config
first
--------------------------------------+-------------------------------------
 Reporter:  rransom                   |          Owner:  erinn
     Type:  defect                    |         Status:  new  
 Priority:  minor                     |      Milestone:       
Component:  Tor bundles/installation  |        Version:       
 Keywords:                            |         Parent:       
   Points:                            |   Actualpoints:       
--------------------------------------+-------------------------------------
 The torctl script in Tor's contrib/ directory supports a reload command
 which sends SIGHUP to the running Tor process, but it doesn't check the
 new configuration for validity with `tor --verify-config` first, and it
 doesn't check to see whether Tor is still running after it sends the
 SIGHUP.  This can lead to Tor exiting without the user noticing that there
 is a problem.

 Slackware's Tor package installs and uses this script; other distributions
 may package it for users, too.

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


More information about the tor-bugs mailing list