Skip to content

Commit

Permalink
disable torsocks warning spam - https://phabricator.whonix.org/T317
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed May 23, 2015
1 parent 9fc85ac commit 68b44f3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions etc/X11/Xsession.d/20uwt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

if [ -x /usr/lib/uwt/uwt.sh ]; then
. /usr/lib/uwt/uwt.sh
fi
9 changes: 9 additions & 0 deletions etc/profile.d/20_uwt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

if [ -x /usr/lib/uwt/uwt.sh ]; then
. /usr/lib/uwt/uwt.sh
fi
10 changes: 10 additions & 0 deletions usr/lib/uwt/uwt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

## Disable torsocks warning spam such as.
## [May 20 11:45:27] WARNING torsocks[2645]: [syscall] Unsupported syscall number 224. Denying the call (in tsocks_syscall() at syscall.c:165)
## https://phabricator.whonix.org/T317
export TORSOCKS_LOG_LEVEL=1

0 comments on commit 68b44f3

Please sign in to comment.