Package: tor
Version: 0.2.2.32-1
Severity: normal

"# invoke-rc.d tor start" command refuses to start tor, complaining about wrong 
permissions of /var/run/tor directory:
"the directory "/var/run/tor" needs to exist, and to be accessible only by the 
user and group account that is running Tor." 

I should notice, that no such directory existed before, so I created it and 
assigned needed permissions. Before that tor was complaining about missing 
directory.
So, now
$ ls -ld /var/run/tor
drwxrwx--- 2 debian-tor debian-tor 40 Sep 20 20:51 /var/run/tor

But if I do
# invoke-rc.d tor start

it fails:

Raising maximum number of filedescriptors (ulimit -n) to 32768.
Starting tor daemon: tor...
Sep 21 22:13:49.495 [notice] Tor v0.2.2.32 (git-84a279ff87e5bfea). This is 
experimental software. Do not rely on it for strong anonymity. (Running on 
Linux x86_64)
Sep 21 22:13:49.497 [notice] Initialized libevent version 1.4.14b-stable using 
method epoll. Good.
Sep 21 22:13:49.497 [notice] Opening Socks listener on 127.0.0.1:9050
Sep 21 22:13:49.497 [warn] Permissions on directory /var/run/tor are too 
permissive.
Sep 21 22:13:49.498 [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.)
Sep 21 22:13:49.498 [notice] Closing partially-constructed listener Socks 
listener on 127.0.0.1:9050
Sep 21 22:13:49.498 [warn] Failed to parse/validate config: Failed to bind one 
of the listener ports.
Sep 21 22:13:49.498 [err] Reading config failed--see warnings above.
invoke-rc.d: initscript tor, action "start" failed.


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.0.4-custom-1

Debian Release: wheezy/sid
  500 testing         ftp.de.debian.org 

--- Package information. ---
Depends                      (Version) | Installed
======================================-+-====================
libc6                         (>= 2.8) | 2.13-18
libevent-1.4-2     (>= 1.4.14b-stable) | 1.4.14b-stable-1
libssl1.0.0                 (>= 1.0.0) | 1.0.0d-3
zlib1g                    (>= 1:1.1.4) | 1:1.2.3.4.dfsg-3
adduser                                | 3.113


Recommends       (Version) | Installed
==========================-+-===========
polipo             (>= 1)  | 1.0.4.1-1.1
 OR privoxy                | 
socat                      | 1.7.1.3-1.1
logrotate                  | 3.7.8-6
tor-geoipdb                | 0.2.2.32-1
torsocks                   | 1.1+git20110826-1
 OR tsocks                 | 1.8beta5-9.1


Suggests               (Version) | Installed
================================-+-===========
mixmaster                        | 
xul-ext-torbutton                | 1.4.1-1







-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to