[tor-relays] OpenBSD: tor rc script: don't kill unrelated tor instances (patch)

Fabian Keil freebsd-listen at fabiankeil.de
Tue Jun 23 11:09:07 UTC 2015


nusenu <nusenu at openmailbox.org> wrote:

> >> One line "patch" for /etc/rc.d/tor to address this issue: (tested
> >> with and without custom daemon_flags)
> >> 
> >> 8a9,10
> >>> pexp="${daemon}${daemon_flags:+ ${daemon_flags}}$"
> >>> 
> > 
> > Did you test with custom flags like "--+Log ${tor_loglevel} file
> > ${tor_logfile}"?
> 
> This should read "--Log" no?

While I prefer using neither "--Log" nor "--+Log", the latter
is valid syntax and used in the real world:
https://svnweb.freebsd.org/ports/head/security/tor-devel/files/tor.in?view=markup#l41

For details see:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=167482

In the ElectroBSD version of the port I recently went with the
mentioned "specify all log files in the torrc" strategy ...

> - From tor's man page:
> > Other options can be specified on the command-line in the format 
> > "--option value", in the format "option value", or in a
> > configuration file.

Looks like the man page is incomplete.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20150623/3a399a44/attachment.sig>


More information about the tor-relays mailing list