disable torsocks warning spam

Information

ID: 317
PHID: PHID-TASK-qkhtwfi6vifijmvxjh6y
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

We make heavy use of torsocks in Whonix. For example, apt-get is run through torsocks for better stream isolation.

This generated loads of, hundreds of these kinds of messages.

[May 20 11:45:27] WARNING torsocks[2645]: [syscall] Unsupported syscall number 224. Denying the call (in tsocks_syscall() at syscall.c:165)

As per David Goulet’s (torsocks maintainer) answer, we can disable them. Fortunately.

export TORSOCKS_LOG_LEVEL=1

Do we want to set TORSOCKS_LOG_LEVEL=1 by,

  • a) #uwt for all invocations of uwt → torsocks → apt-get, gpg, etc. or
  • b) #uwt globally for the whole system or
  • c) #whonix-base-files globally for the whole system or
  • d) #anon-base-files globally for the whole system or
  • e) elsewhere or
  • f) something else?

Disabling these messages globally is not the greatest solution, but would certainly save lots of bug reports we can do nothing about anyhow.

Comments


Patrick

2015-05-23 01:38:10 UTC


Patrick

2015-05-24 17:11:27 UTC


Patrick

2015-05-24 17:16:54 UTC


Patrick

2015-05-26 15:58:46 UTC


Patrick

2015-06-06 15:38:56 UTC