Subject: Re: security/tor
To: None <>
From: Jan Schaumann <>
List: pkgsrc-users
Date: 07/09/2006 10:38:40
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Jan Danielsson <> wrote:
> # /etc/rc.d/tor start
> ..I get:
> -----------
> Jul 09 15:15:42.676 [notice] Tor v0.1.1.21. This is experimental
> software. Do not rely on it for strong anonymity.
> Jul 09 15:15:42.677 [warn] options_init_logs(): Can't log to stdout with
> RunAsDaemon set.
> Jul 09 15:15:42.677 [warn] Failed to parse/validate config: Failed to
> validate Log options. See logs for details.

It seems that the latest version of tor does not start if it does not
have a valid "Log" option in the configuration file.

> # tor
>    ..which seemed to work.. But why won't it run using /etc/rc.d/tor ?

/etc/rc.d/tor starts tor as a daemon, in which case it can't log to
stderr (which is the default, I think), so it will fail without having a
place to log to.

Adjust /usr/pkg/etc/tor/torrc with a proper Log option and it should
work just fine.


Fate, it seems, is not without a sense of irony.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.3 (NetBSD)