Package: tor
Version: 0.1.0.15-1.0.1
Severity: important

There should not be "exit 0" in /etc/init.d/tor to cover all cases of
startup. If process did not start of if it didn't stop, there should be
indication of error. Now it always signals ok - only for admin to find
out much later that there is something wrong.

EXAMPLE RUN

# sh -x /etc/init.d/tor start
+ set -e
...
+ echo 'Starting tor daemon: tor...'
Starting tor daemon: tor...
+ ulimit -n 4096
+ start-stop-daemon --start --quiet --oknodo --chuid debian-tor:debian-tor 
--pidfile /var/run/tor/tor.pid --exec /usr/sbin/tor --
Nov 10 10:34:08.186 [notice] Tor v0.1.0.15. This is experimental software. Do 
not rely on it for strong anonymity.
+ echo done.
done.
+ exit 0

[EMAIL PROTECTED]:~# echo $?
0

[EMAIL PROTECTED]:~#  /usr/sbin/tor -l info
Nov 10 10:34:43.464 [notice] Tor v0.1.0.15. This is experimental software. Do 
not rely on it for strong anonymity.
Nov 10 10:34:43.468 [warn] /var/lib/tor is not owned by this UID (0). You must 
fix this to proceed.
Nov 10 10:34:43.469 [err] options_act(): Couldn't access/create private data 
directory /var/lib/tor
Nov 10 10:34:43.470 [err] init_from_config(): Acting on config options left us 
in a broken state. Dying.
[EMAIL PROTECTED]:~# echo $?
1



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages tor depends on:
ii  adduser                       3.77       Add and remove users and groups
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libevent1                     1.1a-1     An asynchronous event notification
ii  libssl0.9.8                   0.9.8a-3   SSL shared libraries
ii  tsocks                        1.8beta5-2 transparent network access through
ii  zlib1g                        1:1.2.3-4  compression library - runtime

Versions of packages tor recommends:
pn  privoxy                       <none>     (no description available)
pn  socat                         <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to