Opened 2 years ago

Last modified 23 months ago

#22662 new enhancement

Reload the state file on HUP

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: maybe-bad-idea hup state clear-state maybe-wontfix
Cc: Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:


I was trying to reset my tor state, so I removed the state file and issued a SIGHUP. But tor didn't reload the state file.

This was surprising, given the man page entry:

           The signal instructs Tor to reload its configuration (including
           closing and reopening logs), and kill and restart its helper
           processes if applicable.

Child Tickets

Change History (2)

comment:1 Changed 2 years ago by arma

If Tor did anything with its state file on hup, I would expect it to flush its current state to the state file.

comment:2 Changed 23 months ago by nickm

Keywords: maybe-bad-idea hup state clear-state maybe-wontfix added
Note: See TracTickets for help on using tickets.