[tor-bugs] #9793 [Stem]: stem.util.system.get_pid_by_port() doesn't work on Fedora 19
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Sep 20 15:34:59 UTC 2013
#9793: stem.util.system.get_pid_by_port() doesn't work on Fedora 19
------------------------+--------------------
Reporter: kaie | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+--------------------
Comment (by atagar):
Hi kaie. Please add the torrc that tor is running with, and restart tor
with 'tor -f /path/to/that/file' to double check that it's running with
that. In particular I'd like to double check that
[https://stem.torproject.org/tutorials/the_little_relay_that_could.html
the ControlPort is properly set].
> doesn't return the name of the process :(
Actually, this isn't a problem with Fedora or netstat/lsof but rather
something tor is doing. By default tor sets the DisableDebuggerAttachment
which causes some of your /proc permissions to be set to root. This in
turn breaks connection resolvers like netstat and lsof (this has been a
thorn in my side for quite some time with [http://www.atagar.com/arm/
arm]).
You can change this by setting "DisableDebuggerAttachment 0" in your
torrc.
Cheers! -Damian
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9793#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list