severity 324905 normal
notfound 324905 0.1.0.14-1
close 324905
thanks

Hallo "Debian User" (sind die richtigen Namen grade aus?)

Debian User schrieb am Mittwoch, dem 24. August 2005:

> The init script creates no pid /var/run/tor/tor.pid

Of course it does not, the tor daemon creates the pid file itself.

> I changed it a bit:
> $ diff -u tor-0.1.0.14/debian/tor.init /etc/init.d/tor
> --- tor-0.1.0.14/debian/tor.init        2005-08-24 20:51:00.000000000
> +0200
> +++ /etc/init.d/tor     2005-08-24 20:30:54.942965168 +0200
> @@ -61,6 +61,7 @@
>                                 --pidfile $TORPID \
>                                 $NICE \
>                                 --exec $DAEMON -- $ARGS
> +                       pidof -s tor >$TORPID

And that's a very bad way to create a pidfile.  "pidof tor" can return
the pid of any process called tor..

> +               rm $TORPID

Similarily, tor also removes its pidfile.


Do you have an actual problem with the Debian package of tor to report?

-- 
 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