Tor Launcher inconsistently sets TZ=UTC for tor process
Some investigations done as part of #25511 (moved) suggest that the first time Tor Launcher runs tor, it either unsets or fails to change TZ
. If tor crashes or needs to be restarted for some reason, then it sets TZ=UTC
. My summary of one instance of this behavior is at ticket:25511#comment:32.
Tor Launcher should probably leave the time zone alone when starting tor, so tor can detect what local time for the machine is. We should also consider the privacy impact of revealing a user's timezone through logging (see #18112 (moved) for one instance of this concern).
In any case Tor Launcher should probably be consistent about which timezone it starts tor in.