Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175486 - net-misc/tor (0.1.2.6_alpha,0.1.1.26,0.1.1.23) fails to start (startup script problem) with sys-apps/baselayout-2.0.0_alpha1
Summary: net-misc/tor (0.1.2.6_alpha,0.1.1.26,0.1.1.23) fails to start (startup script...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-21 19:52 UTC by GNUtoo
Modified: 2007-08-23 16:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GNUtoo 2007-04-21 19:52:43 UTC
#  /etc/init.d/tor start
 * Starting Tor ...
Apr 21 20:43:07.897 [notice] Tor v0.1.2.6-alpha. This is experimental software. Do not rely on it for strong anonymity.
Apr 21 20:43:07.898 [warn] Error setting to configured GID: Operation not permitted
Apr 21 20:43:07.898 [warn] Failed to parse/validate config: Problem with User or Group value. See logs for details.
Apr 21 20:43:07.898 [err] Reading config failed--see warnings above.                                                                                                                                                                                                                                               [ !! ]
 * ERROR: tor failed to start
here my /etc/passwd:
tor:x:103:1005:added by portage for tor:/var/lib/tor:/sbin/nologin

and here's my /etc/groups
tor:x:1005:





Reproducible: Always




# emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo_port4 i686)
=================================================================
System uname: 2.6.20-gentoo_port4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System release 2.0.0_alpha1
Timestamp of tree: Fri, 13 Apr 2007 11:00:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl adns aiglx alsa amr apache2 asf berkdb bitmap-fonts bl blender-game cairo cdda cddb cdr chardet clearcase cli contrarius cracklib cran crypt css cups cvs dbus dga divx dri dts dv dvd dvdr dvdread editor eds effects emboss enca encode examples exif expat fam fat ffmpeg firefox flac foomaticdb gdbm gif gimpprint glsa gmedia gpm gstreamer gtk hal hfs httpd iconv ieee1394 inkjar inquisitio ipv6 isdnlog jfs jpeg jpeg2k kde kerberos kqemu lcms ldap libg++ libnotify lzo mad matroska midi mikmod mjpeg mmx mmxext mng mp3 mp4 mpeg mpi musepack ncurses nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl pam pcre perforce perl php plugin png ppds pppd python qa qt3 qt4 quicktime quotas readline realmedia reflection reiser4 reiserfs rt2500pci rtc rtsp samba sdl session skins sox speex spell spl srteam sse sse2 ssl stream subversion svg swat tcpd tga theora tiff timidity tordns truetype truetype-fonts type1-fonts unicode usb vcd vidx vlm vorbis wifi wma wmf wmp wxwindows x264 x86 xanim xfs xml xorg xprint xv xvid xvmc yahoo yv12 zlib zsh" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 GNUtoo 2007-04-21 19:54:18 UTC
# ls -l
total 20
-rw-r--r-- 1 tor tor  411 Apr 21 20:42 tor-tsocks.conf
-rw-r--r-- 1 tor tor 6234 Mar 18 21:42 torrc
-rw-r--r-- 1 tor tor 6234 Apr 21 20:42 torrc.sample

# ls -l | grep tor
drwxr-xr-x 2 tor     tor    4096 Apr 21 20:42 tor
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-05-08 16:04:33 UTC
This should be fixed in baselayout-2.0.0_alpha2. Re-open if you disagree
Comment 3 Francesco Piccinno 2007-08-23 16:48:55 UTC
with sys-apps/baselayout-2.0.0_rc3-r1 i've got similar issues

ToSSiKa stack # /etc/init.d/tor status
 * status: stopped
ToSSiKa stack # /etc/init.d/tor start
 * Tor configuration (/etc/tor/torrc) is valid.
 * Starting Tor ...                                                                                                      [ !! ]
 * ERROR: tor failed to start
ToSSiKa stack # ps -def | grep tor
root       968     2  0 11:34 ?        00:00:07 [usb-storage]
root      6812  6788  0 11:35 ?        00:00:04 hald-addon-storage: polling /dev/hdc (every 2 sec)
root      6814  6788  0 11:35 ?        00:00:03 hald-addon-storage: polling /dev/hdd (every 2 sec)
stack     7072     1  0 11:37 ?        00:00:35 akregator -session 10de626c69000118699903900000071160009_1187832114_215318
tor      19061     1 36 18:48 ?        00:00:01 /usr/bin/tor --runasdaemon 1
root     19076   781  0 18:48 pts/4    00:00:00 grep --colour=auto tor
ToSSiKa stack # kill -KILL 19061
ToSSiKa stack # start-stop-daemon --start --quiet --chuid tor --exec /usr/bin/tor -- --runasdaemon 1
Aug 23 18:48:41.344 [notice] Tor v0.1.2.16. This is experimental software. Do not rely on it for strong anonymity.
Aug 23 18:48:41.346 [notice] Initialized libevent version 1.3a using method epoll. Good.
Aug 23 18:48:41.346 [notice] Opening Socks listener on 127.0.0.1:9050
 * start-stop-daemon: /usr/bin/tor died
ToSSiKa stack #