#1019581 broken Tor connection after extended suspend/resume - Tor's systemd service should restart Tor on resume/thaw after sleep/hibernate

Package:
tor
Source:
tor
Description:
anonymizing overlay network for TCP
Submitter:
Date:
2022-09-12 15:33:04 UTC
Severity:
normal
#1019581#5
Date:
2022-09-12 15:30:30 UTC
From:
To:
Dear maintainer,

when the computer resumes after an extended resume, Tor does not notice
that. That leads to open Tor circuits being invalid.

The bug was reported a few years ago. Original bug report upstream at Tor:
https://gitlab.torproject.org/tpo/core/tor/-/issues/25456

But it was never done because Tor's systemd unit was deprecated:
https://gitlab.torproject.org/tpo/core/tor/-/issues/30797

Another user reported the same issue but noted that SIGHUP isn't a
reliable solution either.
https://gitlab.torproject.org/tpo/core/tor/-/issues/40200

Therefore Tor's systemd service should restart Tor on resume/thaw after
sleep/hibernate to fix the connectivity issue.

Cheers,
Patrick