Tor fails after reload related to torrc DisableNetwork setting issue

Information

ID: 320
PHID: PHID-TASK-grkludemjpygy4kybumm
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

whonixsetup or whonix-setup-wizard will run sudo service tor reload. That will exit 0, but Tor will die. sudo service tor status will then show.

● tor.service - LSB: Starts The Onion Router daemon processes
   Loaded: loaded (/etc/init.d/tor)
   Active: active (exited) since Wed 2015-05-20 17:10:03 UTC; 10min ago
  Process: 3468 ExecReload=/etc/init.d/tor reload (code=exited, status=0/SUCCESS)
  Process: 688 ExecStart=/etc/init.d/tor start (code=exited, status=0/SUCCESS)

/var/log/tor/log contains an error message.

May 20 17:34:56.000 [warn] Could not bind to 10.152.152.10:53: Permission denied

Could be an issue in Tor, jessie, anon-gw-anonymizer-config or systemd.

Could be a related misunderstanding on how Tor’s configs are supposed to be used:

How to reproduce? (Warning: this following command wipes your whole /etc/tor/torrc.)

sudo su
echo "DisableNetwork 1" > /etc/tor/torrc
sudo service tor restart
sleep 2
echo "DisableNetwork 0" > /etc/tor/torrc
sudo service tor reload

Comments


Patrick

2015-05-23 01:43:54 UTC


Patrick

2015-05-23 02:16:04 UTC


Patrick

2015-05-23 02:48:03 UTC


Patrick

2015-05-23 14:19:30 UTC


Patrick

2015-05-23 14:21:34 UTC


Patrick

2015-05-23 14:49:30 UTC


troubadour

2015-05-23 19:34:13 UTC


Patrick

2015-05-24 14:30:05 UTC