Your message dated Tue, 30 Aug 2011 23:05:03 +0200
with message-id <[email protected]>
and subject line Re: Bug#639836: tor: Fails to start with "Are you running Tor
as the wrong user?"
has caused the Debian Bug report #639836,
regarding tor: Fails to start with "Are you running Tor as the wrong user?"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
639836: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639836
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tor
Version: 0.2.2.32-1
Severity: normal
Dear Maintainer,
Since updating some packages (including tor)
I can't start tor anymore.
the output of dpkg --configure tor is:
Setting up tor (0.2.2.32-1) ...
Raising maximum number of filedescriptors (ulimit -n) to 32768.
Starting tor daemon: tor...
Aug 30 20:50:16.090 [notice] Tor v0.2.2.32 (git-84a279ff87e5bfea). This is
experimental software. Do not rely on it for strong anonymity. (Running on
Linux i686)
Aug 30 20:50:16.126 [notice] Initialized libevent version 1.4.14b-stable using
method epoll. Good.
Aug 30 20:50:16.126 [notice] Opening Socks listener on 127.0.0.1:9050
Aug 30 20:50:16.128 [warn] /var/run/tor is not owned by this group (users, 100)
but by group debian-tor (120). Are you running Tor as the wrong user?
Aug 30 20:50:16.128 [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.)
Aug 30 20:50:16.128 [notice] Closing partially-constructed listener Socks
listener on 127.0.0.1:9050
Aug 30 20:50:16.129 [warn] Failed to parse/validate config: Failed to bind one
of the listener ports.
Aug 30 20:50:16.129 [err] Reading config failed--see warnings above.
invoke-rc.d: initscript tor, action "start" failed.
dpkg: error processing tor (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tor
I also had problems with my sudoers file and my /etc/group, I think I fixed
those but I'll attach them (if you think they might be related)
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults
secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
%adm ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
and /etc/group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:nico
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:nico
fax:x:21:nico
voice:x:22:
cdrom:x:24:nico
floppy:x:25:nico
tape:x:26:nico
sudo:x:27:
audio:x:29:pulse,nico
dip:x:30:nico
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:nico
sasl:x:45:
plugdev:x:46:nico
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
messagebus:x:103:
Debian-exim:x:104:
mlocate:x:105:
ssh:x:106:
avahi-autoipd:x:107:
avahi:x:108:
netdev:x:109:
bluetooth:x:110:
lpadmin:x:111:nico
ssl-cert:x:112:
fuse:x:113:nico
utempter:x:114:
Debian-gdm:x:115:
scanner:x:116:saned,nico
saned:x:117:
nico:x:1000:
haldaemon:x:118:
powerdev:x:119:
debian-tor:x:120:nico
ntp:x:121:
pcscd:x:122:
pulse:x:123:
pulse-access:x:124:
sambashare:x:125:nico
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (700, 'unstable'), (600, 'testing'), (500, 'stable'), (400,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
On Tue, 30 Aug 2011, Nico Antweiler wrote:
> >>> Why did you change the primary group of the Tor user? You should undo
> >>> that.
> Thanks that solved it :)
ok :)
--
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
--- End Message ---