[CALL FOR TESTING] Tor

Started by fabian, September 19, 2017, 02:25:25 PM

Previous topic - Next topic
Fix is available: https://github.com/opnsense/plugins/pull/286

@NilsS Logs can be fully disabled. In that case they are not even written to /dev/null.

Quote from: NilsS on September 24, 2017, 05:27:15 PM
you startet tor as root once.
you have to remove /var/log/tor.log to start it as user _tor again
Removed it and restarted it with tor user. Still same error that it can't write the log.

Maybe I'll install a opnsense from scratch and try again

as fabian wrote, he fixed this already.
but the parent directory dont allow the user _tor to create the file in that directory.
touch /var/log/tor.log
chown _tor._tor /var/log/tor.log
should fix the problem for you.
others can wait for the fix to be commited or apply the patch manually

The current state of the plugin will be available as stable with the next release so there is not much wait time to get the stable release which will include the fix.

As a side node, building/installing from the plugins repo is quite easy from the command line:

# opnsense-code plugins
# cd /usr/plugins/security/tor
# make upgrade


Cheers,
Franco