stem.util.system.get_pid_by_port() doesn't work on Fedora 19

I'm experimenting with Stem. The example code uses stem.util.system.get_pid_by_port(port) to find a running process, in order to stop it.

On my Fedora 19 system, this call doesn't work, it returns "None".

The command netstat -npltu | grep 127.0.0.1:

doesn't return the name of the process :(

tcp 0 0 127.0.0.1:9160 0.0.0.0:* LISTEN -

The lsof command doesn't work either. Looks like Fedora doesn't allow user querying of the tor process, despite me owning the process.

Trac:
Username: kaie