[Bug 207129] security/tor: Request to add multi-instance support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 24 20:13:39 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207129

--- Comment #19 from nusenu <nusenu at openmailbox.org> ---
thanks!

It basically works, a few comments:

1)
I put "root" as the inst_user but another in the torrc itself (to bind to <1024
ports), in my case the chown commands do not cause any issues because the
datadirs are autogenerated by my ansible role already but generally it could
fail for others because you will do a

chown root /<DataDir>

and the user specified in the torrc will no longer be able to access it.

The easiest fix: Leave that responsibility to the user (having proper folders).
Since a proper automated solution is not easily possible here - I guess.

2)
I define N instances in tor_instances, but there are N+1 tor instances running 
after "service tor start" (default instance).
I don't care about the default instance.
How does one disable the default instance properly?
Quick 'n dirty fix would be to rename /usr/local/etc/tor/torrc but that seems a
dirty solution?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list