[tor-talk] What is going on with /var/run/tor?

Olivier C lists.olivier at ariadacapo.net
Thu Jan 12 20:05:46 UTC 2012


Hello,

On 12/29/2011 09:25 PM, Matthew R wrote:
> I am becoming increasingly perplexed about my Tor setup.
>
> Tor does not appear to run on start-up.  I assume this because I cannot see
> it using ps aux | grep tor.
>
> My torrc is in /etc/tor/torrc with user and group set as 'root'.
>
> I run 'sudo tor' and receive the following errors:
>
> Dec 29 20:12:55.076 [notice] Tor v0.2.2.35 (git-73ff13ab3cc9570d). This is
> experimental software. Do not rely on it for strong anonymity. (Running on
> Linux i686)
> Dec 29 20:12:55.079 [notice] Initialized libevent version 1.4.13-stable
> using method epoll. Good.
> Dec 29 20:12:55.079 [notice] Opening Socks listener on 127.0.0.1:9050
> Dec 29 20:12:55.079 [warn] Directory /var/run/tor does not exist.
> Dec 29 20:12:55.079 [warn] Before Tor can create a control socket in
> "/var/run/tor/control", the directory "/var/run/tor" needs to exist, and to
> be accessible only by the user and group account that is running Tor.  (On
> some Unix systems, anybody who can list a socket can conect to it, so Tor
> is being careful.)
[...]

I think this is bug #4805
https://trac.torproject.org/projects/tor/ticket/4805

see also
https://trac.torproject.org/projects/tor/ticket/4716

Indeed a workaround is to make Vidalia control Tor with TCP connection 
(ControlPort) instead of ControlSocket.

Olivier.


More information about the tor-talk mailing list