Starting tor with --DormantOnFirstStartup doesn't set GETINFO dormant to 1
Summary
Starting tor with --DormantOnFirstStartup 1 on a new DataDirectory doesn't set GETINFO dormant to 1
Steps to reproduce:
- start tor with
tor --DormantOnFirstStartup 1 --DataDirectory some-empty-dir
- do a
GETINFO dormant
What is the current bug behavior?
GETINFO dormant returns 0, as if it weren't in dormant mode
What is the expected behavior?
GETINFO dormant returns 1, as it is in dormant mode
Environment
- Which version of Tor are you using? Run
tor --version
to get the version if you are unsure.- 0.4.6.10 and 0.4.5.10
- Which operating system are you using? For example: Debian GNU/Linux 10.1, Windows 10, Ubuntu Xenial, FreeBSD 12.2, etc.
- Pop!_OS 22.04 and Ubuntu 18.04.6
- Which installation method did you use? Distribution package (apt, pkg, homebrew), from source tarball, from Git, etc.
- apt and ?