Opened 12 months ago

Last modified 9 months ago

#32396 new enhancement

Add state file support to

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: 043-deferred
Cc: nickm Actual Points:
Parent ID: #29211 Points: 1
Reviewer: Sponsor:


Currently, reads options from the cmdline file, default options file, and torrc.

I'd also like to see state file support.

This ticket is not a high priority, unless we refactor a lot of state code.

Child Tickets

Change History (6)

comment:1 Changed 12 months ago by nickm

test_parseconf relies on --validate-config and --dump-config, neither of which exists for state; we'd need to implement them, I suppose.

comment:2 Changed 12 months ago by teor

I was hoping to have an option that parses and dumps config and state at the same time. There are lots of interactions between state and config.

So in that case, we'd need to allow --verify-config --verify-state and --dump-config --dump-state?

(The standard state paths should be enough if we set a DataDir. So we won't need more options to set state paths.)

comment:3 Changed 9 months ago by gaba

Sponsor: Sponsor31-can

Sponsor closed. Remove from roadmap.

comment:4 Changed 9 months ago by gaba

Keywords: network-team-roadmap-? removed

comment:5 Changed 9 months ago by nickm

Keywords: 043-deferred added

All 0.4.3.x tickets without 043-must, 043-should, or 043-can are about to be deferred.

comment:6 Changed 9 months ago by nickm

Milestone: Tor: 0.4.3.x-finalTor: unspecified
Note: See TracTickets for help on using tickets.