[patch] - Fix for "Failed to parse/validate config: Failed to init Log options"
Neel Chauhan
neel at neelc.org
Thu Apr 3 23:58:31 UTC 2014
Hi,
I have a patch to fix the "Failed to parse/validate config: Failed to
init Log options" problem whenever I start Tor on FreeBSD. It is:
--- Makefile.old 2014-04-03 19:48:25.000000000 -0400
+++ Makefile 2014-04-03 19:49:57.000000000 -0400
@@ -42,6 +42,9 @@
CONFLICTS= tor-devel-[0-9]*
+PLIST_SUB= USERS=${USERS}
+PLIST_SUB+= GROUPS=${GROUPS}
+
.include <bsd.port.options.mk>
.if ( (${OSVERSION} < 900000) || \
--- pkg-plist.old 2014-04-03 19:37:16.000000000 -0400
+++ pkg-plist 2014-04-03 19:47:56.000000000 -0400
@@ -8,6 +8,8 @@
man/man1/tor-resolve.1.gz
man/man1/tor.1.gz
man/man1/torify.1.gz
+ at exec touch /var/log/tor ; chown %%USERS%%:%%GROUPS%% /var/log/tor
+ at exec mkdir /var/run/tor ; chown -R %%USERS%%:%%GROUPS%% /var/run/tor
%%DATADIR%%/geoip
%%DATADIR%%/geoip6
@dirrm %%DATADIR%%
I'm in a hurry to post this because I'm a high school student and I
don't want my mom to be too angry with me, but I did test this and it
worked. And my Postfix server couldn't send this email the first time (I
actually run my own email server, and from home!). But anyways, hope you
enjoy it.
-Neel
More information about the freebsd-ports
mailing list