Bug#960617: popularity-contest: popcon fails to send data if USETOR=maybe and tor is not running
On Thu, May 14, 2020 at 08:22:11PM +0300, Michael Krylov wrote:
> Package: popularity-contest
> Version: 1.67
> Severity: normal
> Dear Maintainer,
> I have noticed that my recent submissions to popularity contest database
> have failed. After some further investigation and running
> sudo bash -x /etc/cron.daily/popularity-contest
> to see what is actually happening, I've noticed that it tries to use
> torify to send the submission:
> /usr/bin/torify /usr/share/popularity-contest/popcon-upload -u http://popcon.debian.org/cgi-bin/popcon.cgi -f /var/log/popularity-contest.new.gpg
> Although I have tor installed, I don't run it all the time, and only
> start it on demand.
> For now, as a workaround, I set USETOR="no".
> I suggest that this script would check the `service tor status` before
> actually using torify if USETOR="maybe" and fail if USERTOR="yes".
Thanks for telling us about this problem. I will ask the authors of
the tor patch.
Imagine a large red swirl here.