Tor Config Check Result ERROR after sudo upgrade with Whonix-Gateway 10

After running WhonixCheck, it wanted to install some updates.

After, I get this error with the Wcheck.

ERROR: Tor Config Check Result:
Your /etc/tor/torrc file contains at least one error.
(Tor exit code: 255)
Tor reports:
Jun 09 03:18:11.001 [notice] Tor v0.2.6.8 (git-69b46cf274f35955) running on Linux with Libevent 2.0.19-stable, OpenSSL 1.0.1e and Zlib 1.2.7.
Jun 09 03:18:11.001 [notice] Tor can’t help you if you use it wrong! Learn how to be safe at Tor Project | Download
Jun 09 03:18:11.001 [notice] Read configuration file “/etc/tor/torrc”.
Jun 09 03:18:11.004 [warn] /var/lib/tor/torchat/ is not owned by this user (root, 0) but by debian-tor (101). Perhaps you are running Tor as the wrong user?
Jun 09 03:18:11.004 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
Jun 09 03:18:11.004 [err] Reading config failed–see warnings above.

Any ideas?

It seems I’m the only one experiencing this?

Edit by Patrick:
changed title

Looks like.

Try this.

Check / post (redacted) contents of your /etc/tor/torrc.

Hallo dear Adrelanos. I get this Error on Gateway after update/upgrade.

Direct Link!

[url=http://postimg.org/image/iauyp9qln/]http://postimg.org/image/iauyp9qln/[/url]

sudo chown --recursive debian-tor:debian-tor /var/lib/tor
sudo -u debian-tor tor --verify-config
sudo service tor restart

Try this but not work for me!

My torrc

Direct Link

[url=http://postimg.org/image/4yzpo9b2r/]http://postimg.org/image/4yzpo9b2r/[/url]

Best Regards!

townsend

Which Whonix version?

For diagnosis… Can you try please if it works when you commented out the Tor hidden service?

Hallo dear Adrelanos. I reply the Code three times again. Now Tor works, but when i do whonixcheck i get the same Error Message.

Best Regards!

townsend

Also run this command please.

Does everything else work? Tor is running? Connectivity from the workstation?

It could be just a failing whonixcheck test that happens since Tor was upgraded.

You can try to disable that check. Create a file.

With the following content.

Dear Adrelanos. Timesync wassuccessfully, Workstation works successfully. Whonixcheck on Workstation works perfectly without any Error. Now run command

Works!

Yes now the check is disabled. Question! Can i enable the automatic check again, when Gateway starts? What about the 50_user File? Delete or not?

Best Regards!

townsend

It’s most likely a bug in whonixcheck. Keep that file until the next upgrade of whonixcheck.

Ok, i will do so. Thank you so much for support!

Best Regards!

townsend

This will be fixed in Whonix 11:

whonixcheck: fixed Tor Config Check Result issue that was caused by the Tor upgrade; improved output for Tor Config Check Result - Whonix Forum - https://github.com/Whonix/whonixcheck/commit/bf55af20a5856d8a024a7eb821f5d54692dc5b15

[hr]

This will also get a stable upgrade for Whonix 10.

Thank you dear Adrelanos for to do this.

[quote=“Patrick, post:10, topic:1131”]This will be fixed in Whonix 11:

whonixcheck: fixed Tor Config Check Result issue that was caused by the Tor upgrade; improved output for Tor Config Check Result - Whonix Forum - https://github.com/Whonix/whonixcheck/commit/bf55af20a5856d8a024a7eb821f5d54692dc5b15

[hr]

This will also get a stable upgrade for Whonix 10.[/quote]

Best Regards!

townsend

Here is the commit for Whonix 10:

whonixcheck: stable fix, no longer run test check_tor_config, because it false positively detects an issue since the Tor upgrade - Whonix Forum - https://github.com/Whonix/whonixcheck/commit/44b8921a214799b2d3e17281b2f4b0ee04643295

Upgraded stable package upgrade from Whonix repository coming later.

For developers:
Here is the debbindiff.

--- ./1/whonixcheck_2.2-1_all.deb
+++ ./2/whonixcheck_2.2.1-1_all.deb
├── control.tar.gz
│   ├── control.tar
│   │   ├── ./control
│   │   │ @@ -1,9 +1,9 @@
│   │   │  Package: whonixcheck
│   │   │ -Version: 3:2.2-1
│   │   │ +Version: 3:2.2.1-1
│   │   │  Architecture: all
│   │   │  Maintainer: Patrick Schleizer <adrelanos@riseup.net>
│   │   │  Installed-Size: 250
│   │   │  Depends: anon-gw-base-files | anon-ws-base-files, anon-base-files, curl, curl-scripts, ca-certificates, msgcollector, virt-what, psmisc, sudo, gpg-bash-lib, xz-utils
│   │   │  Recommends: anon-icon-pack
│   │   │  Section: misc
│   │   │  Priority: optional
│   │   ├── md5sums
│   │   │┄ Files in package differs
│   │   ├── metadata
│   │   │ @@ -1,7 +1,7 @@
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./
│   │   │ --rw-r--r-- root/root        577 2013-08-15 11:02:35 ./control
│   │   │ +-rw-r--r-- root/root        579 2013-08-15 11:02:35 ./control
│   │   │  -rwxr-xr-x root/root        166 2013-08-15 11:02:35 ./postrm
│   │   │  -rwxr-xr-x root/root        177 2013-08-15 11:02:35 ./prerm
│   │   │  -rw-r--r-- root/root        114 2013-08-15 11:02:35 ./conffiles
│   │   │  -rw-r--r-- root/root       3203 2013-08-15 11:02:35 ./md5sums
│   │   │  -rwxr-xr-x root/root       1885 2013-08-15 11:02:35 ./postinst
│   │   ╵
│   ╵
├── data.tar.gz
│   ├── data.tar
│   │   ├── ./usr/bin/whonixcheck
│   │   │ @@ -95,15 +95,16 @@
│   │   │     ## Does not use the network.
│   │   │     whonixcheck_run_function check_whonixsetup_done ## check_whonixsetup_done
│   │   │  
│   │   │     ## Does not use the network. (Runs only on Whonix-Gateway.)
│   │   │     whonixcheck_run_function check_tor_enabled ## check_tor_enabled
│   │   │  
│   │   │     ## Does not use the network. (Runs only on Whonix-Gateway.)
│   │   │ -   whonixcheck_run_function check_tor_config ## check_tor_config
│   │   │ +   ## XXX: https://www.whonix.org/forum/index.php/topic,1295.0.html
│   │   │ +   #whonixcheck_run_function check_tor_config ## check_tor_config
│   │   │  
│   │   │     ## Does not use the network. (Runs only on Whonix-Gateway.)
│   │   │     whonixcheck_run_function check_tor_pid ## check_tor_pid
│   │   │  
│   │   │     ## Does not use the network.
│   │   │     whonixcheck_run_function check_package_manager_running ## check_package_manager_running
│   │   │  
│   │   ├── ./usr/share/doc/whonixcheck/changelog.Debian.gz
│   │   │   ├── changelog.Debian
│   │   │   │ @@ -1,7 +1,13 @@
│   │   │   │ +whonixcheck (3:2.2.1-1) unstable; urgency=medium
│   │   │   │ +
│   │   │   │ +  * New upstream version (local package).
│   │   │   │ +
│   │   │   │ + -- Patrick Schleizer <adrelanos@riseup.net>  Wed, 10 Jun 2015 13:55:38 +0000
│   │   │   │ +
│   │   │   │  whonixcheck (3:2.2-1) unstable; urgency=low
│   │   │   │  
│   │   │   │    * New upstream version (local package).
│   │   │   │  
│   │   │   │   -- Patrick Schleizer <adrelanos@riseup.net>  Tue, 07 Apr 2015 17:43:04 +0000
│   │   │   │  
│   │   │   │  whonixcheck (3:2.1-1) unstable; urgency=low
│   │   │   ╵
│   │   ├── ./usr/share/doc/whonixcheck/changelog.gz
│   │   │   ├── changelog
│   │   │   │ @@ -1,7 +1,19 @@
│   │   │   │ +commit 44b8921a214799b2d3e17281b2f4b0ee04643295
│   │   │   │ +Author: Patrick Schleizer <adrelanos@riseup.net>
│   │   │   │ +Date:   Wed Jun 10 13:52:03 2015 +0000
│   │   │   │ +
│   │   │   │ +    stable fix, no longer run test check_tor_config, because it false positivly detects an issue since the Tor upgrade - https://www.whonix.org/forum/index.php/topic,1295.0.html
│   │   │   │ +
│   │   │   │ +commit 136907baf730a7572bb073796ffdb812bbf1b98c
│   │   │   │ +Author: Patrick Schleizer <adrelanos@riseup.net>
│   │   │   │ +Date:   Tue Apr 7 17:43:04 2015 +0000
│   │   │   │ +
│   │   │   │ +    bumped changelog version
│   │   │   │ +
│   │   │   │  commit a8907e768fc9bf3920767a2d11b8a4c4b88a0d52
│   │   │   │  Author: Patrick Schleizer <adrelanos@riseup.net>
│   │   │   │  Date:   Sat Apr 4 17:15:06 2015 +0000
│   │   │   │  
│   │   │   │      moved Whonix News files to mirror.whonix.de and use sourceforge as fallback - https://phabricator.whonix.org/T54
│   │   │   │  
│   │   │   │  commit 2603317458dc470e5710f5f94d86594dda402a34
│   │   │   ╵
│   │   ├── metadata
│   │   │ @@ -1,28 +1,28 @@
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/bin/
│   │   │ --rwxr-xr-x root/root       7369 2013-08-15 11:02:35 ./usr/bin/whonixcheck
│   │   │ +-rwxr-xr-x root/root       7438 2013-08-15 11:02:35 ./usr/bin/whonixcheck
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/share/
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/share/man/
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/share/man/man1/
│   │   │  -rw-r--r-- root/root       1119 2013-08-15 11:02:35 ./usr/share/man/man1/whonixcheck.1.gz
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/share/whonix/
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/share/whonix/whonix-news-keys.d/
│   │   │  -rw-r--r-- root/root        150 2013-08-15 11:02:35 ./usr/share/whonix/whonix-news-keys.d/placeholder
│   │   │  -rw-r--r-- root/root      17044 2013-08-15 11:02:35 ./usr/share/whonix/whonix-news-keys.d/patrick.asc
│   │   │  -rw-r--r-- root/root         98 2013-08-15 11:02:35 ./usr/share/whonix/import_blog_not_available.txt
│   │   │  -rw-r--r-- root/root         96 2013-08-15 11:02:35 ./usr/share/whonix/feature_blog_not_available.txt
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/share/applications/
│   │   │  -rw-r--r-- root/root        414 2013-08-15 11:02:35 ./usr/share/applications/whonixcheck.desktop
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/share/doc/
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/share/doc/whonixcheck/
│   │   │ --rw-r--r-- root/root        539 2013-08-15 11:02:35 ./usr/share/doc/whonixcheck/changelog.Debian.gz
│   │   │ +-rw-r--r-- root/root        564 2013-08-15 11:02:35 ./usr/share/doc/whonixcheck/changelog.Debian.gz
│   │   │  -rw-r--r-- root/root        934 2013-08-15 11:02:35 ./usr/share/doc/whonixcheck/copyright
│   │   │ --rw-r--r-- root/root      13449 2013-08-15 11:02:35 ./usr/share/doc/whonixcheck/changelog.gz
│   │   │ +-rw-r--r-- root/root      13602 2013-08-15 11:02:35 ./usr/share/doc/whonixcheck/changelog.gz
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/lib/
│   │   │  -rwxr-xr-x root/root          0 2013-08-15 11:02:35 ./usr/lib/whonixcheck/
│   │   │  -rwxr-xr-x root/root       1757 2013-08-15 11:02:35 ./usr/lib/whonixcheck/process_killer_helper
│   │   │  -rwxr-xr-x root/root       2912 2013-08-15 11:02:35 ./usr/lib/whonixcheck/check_stream_isolation
│   │   │  -rwxr-xr-x root/root        250 2013-08-15 11:02:35 ./usr/lib/whonixcheck/help_cli
│   │   │  -rwxr-xr-x root/root      10730 2013-08-15 11:02:35 ./usr/lib/whonixcheck/check_tor_bootstrap
│   │   │  -rwxr-xr-x root/root       1776 2013-08-15 11:02:35 ./usr/lib/whonixcheck/check_apt_repository
│   │   ╵
│   ╵
├── metadata
│ @@ -1,3 +1,3 @@
│  rw-r--r-- 0/0      4 Aug 15 11:02 2013 debian-binary
│  rw-r--r-- 0/0   2818 Aug 15 11:02 2013 control.tar.gz
│ -rw-r--r-- 0/0  60416 Aug 15 11:02 2013 data.tar.gz
│ +rw-r--r-- 0/0  60726 Aug 15 11:02 2013 data.tar.gz
╵

Uploaded whonixcheck_2.2.1-1 that contains the fix to Whonix’s stable repository. (Whonix ™ APT Repository) Should be available in ~1 hour.