severity 338424 normal
thanks

On Thu, 10 Nov 2005, Jari Aalto wrote:

> 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

Start it as debian-tor and see why it fails (and then let me know if and
why).  In the first instance above it did start properly.

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/


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

Reply via email to