[tor-relays] Testers needed for Nyx beta release

Damian Johnson atagar at torproject.org
Tue Oct 31 18:05:03 UTC 2017


> Hi Damien,
>
> the current version of nyx still produces event notices like these when
> run as a user that is neither root nor the tor user ([sic] for the
> missing spaces):
>
>   10:33:26 [NYX_NOTICE] We were unable to use any of your system's
>   resolvers to get tor's connections.This is fine, but means that the
>   connections page will be empty. This isusually permissions related so
>   if you would like to fix this then run nyx withthe same user as tor
>   (ie, "sudo -u <tor user> nyx").
>   10:33:11 [NYX_NOTICE] Unable to query connections with netstat, trying lsof
>   10:32:53 [NYX_NOTICE] Unable to query connections with proc, trying netstat
>
> In a discussion here some weeks ago, it was pointed out to me that it is
> in fact *not* recommended to use "sudo <tor-user>" to run nyx.

Interesting, thanks Ralph. With the new connection resolution I
wouldn't expect process permissions to come into play. I assume your
user's able to read /proc/net/tcp'? If so then mind running 'nyx
--debug' and sending me the log (minus anything you consider private)?

On a side note I'm not the one that's been advising for you to not run
as tor's user. That said, knowing Roger if we spoke more he'd probably
persuade me to his side. Either way, lets avoid the headache of
needing those permissions if we can.


More information about the tor-relays mailing list