When I start Tor, I get an error which says: Failed to parse/validate config: Failed to init Log options I tried submitting this without sending a PR and just sent it to the mailing lists <http://lists.freebsd.org/pipermail/freebsd-ports/2014-April/091338.html>, but I got no response, so I decided to come here. Fix: I have a patch to fix this: CONFLICTS= tor-devel-[0-9]* +PLIST_SUB= USERS=${USERS} +PLIST_SUB+= GROUPS=${GROUPS} + .include <bsd.port.options.mk> .if ( (${OSVERSION} < 900000) || \ So what this patch does is, that it makes the /var/log/tor logfile, the /var/run/tor directory for the tor.pid file, and makes /var/(log,run)/tor owned by _tor (or whatever user is specified to run Tor).--JgWd90qHvq2XdeEs2y1sJ4gURDCnxnKa8Y2V0XynjZotL3Lf Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.old 2014-04-03 19:48:25.000000000 -0400 +++ Makefile 2014-04-03 19:49:57.000000000 -0400 @@ -42,6 +42,9 @@ How-To-Repeat: 1. Install /usr/ports/security/tor 2. Copy /usr/local/etc/tor/torrc.sample /usr/local/etc/tor/torrc 3. Start Tor (run "service tor onestart" without the quotes) 4. If /var/log/tor doesn't exist and isn't isn't owned by _tor, you get the error: Failed to parse/validate config: Failed to init Log options
Responsible Changed From-To: freebsd-ports-bugs->bf Over to maintainer (via the GNATS Auto Assign Tool)
Sorry about the delay in replying. I've already informed users about the steps that may be necessary with major updates and new installations in the pkg-message, and I prefer to leave changes of /var to sysadmins, because I don't want to tamper with their local modifications.
*** Bug 199365 has been marked as a duplicate of this bug. ***
Should be fixed by r403904