sys-whonix doesn’t seem to like Tor 4.2.5. Upon launch of sys-whonix you get this error:
ERROR: Tor Pid Check Result:
Tor not running. (tor_pid_message: Pid 903 is not running.)
You have to fix this error, before you can use Tor.
Please restart Tor after fixing this error.
dom0 → Start Menu → ServiceVM: sys-whonix → Restart Tor
or in Terminal:
sudo service tor@default restart
Restart whonixcheck after fixing this error.
dom0 → Start Menu → ServiceVM: sys-whonix → Whonix Check
or in Terminal:
whonixcheck
Restarting of Tor doesn’t fix the problem.
whonix-check:
[INFO] [whonixcheck] sys-whonix | Whonix-Gateway | whonix-gw-15 TemplateBased ProxyVM | Fri 20 Dec 2019 09:30:06 AM UTC
[ERROR] [whonixcheck] Tor Pid Check Result:
Tor not running. (tor_pid_message: Pid 3466 is not running.)
You have to fix this error, before you can use Tor.
Please restart Tor after fixing this error.
dom0 → Start Menu → ServiceVM: sys-whonix → Restart Tor
or in Terminal: sudo service tor@default restart
Restart whonixcheck after fixing this error.
dom0 → Start Menu → ServiceVM: sys-whonix → Whonix Check
or in Terminal: whonixcheck
anon-info:
INFO: version of the ‘tor’ package: 0.4.2.5-1~d10.buster+1
Attempt to run nyx:
Unable to connect to tor. Are you sure it’s running?
Config check looks okay:
/===================================================================
| Report Summary |
===================================================================/
No error detected in your Tor configuration.
Tor verify exit code: 0
/===================================================================
| Tor Full Report |
===================================================================/
Dec 20 09:18:08.338 [notice] Tor 0.4.2.5 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8.
Dec 20 09:18:08.338 [notice] Tor can’t help you if you use it wrong! Learn how to be safe at Tor Project | Download
Dec 20 09:18:08.338 [notice] Read configuration file “/usr/share/tor/tor-service-defaults-torrc”.
Dec 20 09:18:08.338 [notice] Read configuration file “/etc/tor/torrc”.
Dec 20 09:18:08.339 [notice] Included configuration file or directory at recursion level 2: “/usr/local/etc/torrc.d/40_tor_control_panel.conf”.
Dec 20 09:18:08.339 [notice] Included configuration file or directory at recursion level 2: “/usr/local/etc/torrc.d/50_user.conf”.
Dec 20 09:18:08.339 [notice] Included configuration file or directory at recursion level 1: “/etc/torrc.d/95_whonix.conf”.
Dec 20 09:18:08.339 [notice] You configured a non-loopback address ‘10.137.0.4:5300’ for DNSPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Dec 20 09:18:08.339 [notice] You configured a non-loopback address ‘10.137.0.4:9040’ for TransPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Configuration was valid
/===================================================================
| Used Tor Configuration Files |
5 files are used as Tor configuration files:
/usr/share/tor/tor-service-defaults-torrc /etc/tor/torrc /etc/torrc.d/95_whonix.conf /usr/local/etc/torrc.d/40_tor_control_panel.conf /usr/local/etc/torrc.d/50_user.conf
Check Tor warnings with grep -i warn /var/run/tor/log :
Dec 20 09:21:10.686 [notice] Tor can’t help you if you use it wrong! Learn how to be safe at Tor Project | Download
Check Tor errors with grep -i error /var/run/tor/log :
Nothing
sudo service tor@default status
tor@default.service - Anonymizing overlay network for TCP
Loaded: loaded (/lib/systemd/system/tor@default.service; enabled-runtime; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/tor@default.service.d
└─30_qubes.conf, 40_obfs4proxy-workaround.conf, 40_qubes.conf, 50_controlsocket-workaround.conf
Active: reloading (reload) (Result: exit-code) since Fri 2019-12-20 09:21:11 UTC; 2min 25s ago
Process: 3040 ExecStartPre=/usr/bin/install -Z -m 02755 -o debian-tor -g debian-tor -d /run/tor (code=exited, status=0/SUCCESS)
Process: 3041 ExecStartPre=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 --verify-config (code=exited, status=0/SUCCESS)
Process: 3042 ExecStart=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 (code=exited, status=1/FAILURE)
Process: 3058 ExecStartPost=/bin/kill -HUP ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 3042 (code=exited, status=1/FAILURE)
Tasks: 0 (limit: 4666)
Memory: 1.2M
CGroup: /system.slice/system-tor.slice/tor@default.service
Dec 20 09:21:11 host Tor[3042]: You configured a non-loopback address ‘10.137.0.4:9225’ for HTTP TunnelPort. This allows everybody on your local network to use your machine as a proxy.
Dec 20 09:21:11 host Tor[3042]: You configured a non-loopback address ‘10.137.0.4:9226’ for HTTP TunnelPort. This allows everybody on your local network to use your machine as a proxy.
Dec 20 09:21:11 host Tor[3042]: You configured a non-loopback address ‘10.137.0.4:9227’ for HTTP TunnelPort. This allows everybody on your local network to use your machine as a proxy.
Dec 20 09:21:11 host Tor[3042]: You configured a non-loopback address ‘10.137.0.4:9228’ for HTTP TunnelPort. This allows everybody on your local network to use your machine as a proxy.
Dec 20 09:21:11 host Tor[3042]: You configured a non-loopback address ‘10.137.0.4:9229’ for HTTP TunnelPort. This allows everybody on your local network to use your machine as a proxy.
Dec 20 09:21:11 host Tor[3042]: Opening Socks listener on /run/tor/socks
Dec 20 09:21:11 host Tor[3042]: Opened Socks listener on /run/tor/socks
Dec 20 09:21:11 host Tor[3042]: Opening Control listener on /run/tor/control
Dec 20 09:21:11 host Tor[3042]: Opened Control listener on /run/tor/control
Dec 20 09:21:11 host systemd[1]: tor@default.service: Main process exited, code=exited, status=1/FAILURE
Reload Tor with sudo service tor@default restart
Check status → same error as above.
So I guess something is wrong with tor-service-defaults-torrc with this new version? Tor v4.1.6 works perfectly…
Any idea?