Your message dated Fri, 13 Jan 2006 17:09:35 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#347926: postinst starts tor, even if it wasn't running 
before
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Jan 2006 15:28:25 +0000
>From [EMAIL PROTECTED] Fri Jan 13 07:28:25 2006
Return-path: <[EMAIL PROTECTED]>
Received: from stiletto.hotkey.net.au ([202.138.0.110])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1ExQqn-0005zQ-LO
        for [EMAIL PROTECTED]; Fri, 13 Jan 2006 07:28:25 -0800
Received: from stiletto.hotkey.net.au (stiletto [127.0.0.1])
        by stiletto.hotkey.net.au (Postfix) with ESMTP id D821F2C5
        for <[EMAIL PROTECTED]>; Sat, 14 Jan 2006 02:28:23 +1100 (EST)
Received: from testers.net.au (112.146-142-203.dart.iprimus.net.au 
[203.142.146.112])
        by stiletto.hotkey.net.au (Postfix) with ESMTP id 87C652C1
        for <[EMAIL PROTECTED]>; Sat, 14 Jan 2006 02:28:23 +1100 (EST)
Received: from saavik.ian.testers.net.au (saavik.ian.testers.net.au 
[192.168.2.1])
        by mars.testers.net.au (Postfix) with ESMTP id 2AF773613
        for <[EMAIL PROTECTED]>; Sat, 14 Jan 2006 02:29:12 +1100 (EST)
Date: Sat, 14 Jan 2006 02:29:07 +1100
From: Ian Tester <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: postinst starts tor, even if it wasn't running before
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Hotkey Virus Scan
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: tor

I've just spent 24 hours thinking there was something wrong with my
family's ADSL connection. Our ping times, even to the other end of the PPP
link, were over four seconds. For over 24 hours. I was convinced it was
the ADSL line. I've been on the phone to my ISP twice, and was about to
get onto the national telco (Telstra).

I've only just tracked it down to Tor, which was running without my
knowledge. You see, I've experimented with it before and have used it a
few times. I left it around on the router machine, only starting it up on
the few occasions when I wanted it. So I'm not happy about it being
started in the postinst after a recent 'apt-get upgrade'. I am quite
certain it was not running before the upgrade, so why was it started
afterwards?

Please remedy this situation.
bye

---------------------------------------
Received: (at 347926-done) by bugs.debian.org; 13 Jan 2006 16:09:37 +0000
>From [EMAIL PROTECTED] Fri Jan 13 08:09:37 2006
Return-path: <[EMAIL PROTECTED]>
Received: from asteria.debian.or.at ([86.59.21.34] ident=postfix)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1ExRUf-0004gW-3Q
        for [EMAIL PROTECTED]; Fri, 13 Jan 2006 08:09:37 -0800
Received: by asteria.debian.or.at (Postfix, from userid 1002)
        id BA4007093C1; Fri, 13 Jan 2006 17:09:35 +0100 (CET)
Date: Fri, 13 Jan 2006 17:09:35 +0100
From: Peter Palfrader <[EMAIL PROTECTED]>
To: Ian Tester <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED]
Subject: Re: Bug#347926: postinst starts tor, even if it wasn't running before
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
X-PGP: 1024D/94C09C7F 5B00 C96D 5D54 AEE1 206B  AF84 DE7A AF6E 94C0 9C7F
X-Request-PGP: http://www.palfrader.org/keys/94C09C7F.asc
X-Accept-Language: de, en
User-Agent: Mutt/1.5.9i
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Sat, 14 Jan 2006, Ian Tester wrote:

> I've only just tracked it down to Tor, which was running without my
> knowledge. You see, I've experimented with it before and have used it a
> few times. I left it around on the router machine, only starting it up on
> the few occasions when I wanted it. So I'm not happy about it being
> started in the postinst after a recent 'apt-get upgrade'. I am quite
> certain it was not running before the upgrade, so why was it started
> afterwards?
> 
> Please remedy this situation.

This is not a bug.

An upgrade (or reinstall) of a package is supposed to restart a service if
it is configured to run at the current runlevel.

To disable that (assuming you're using the default init and rc stuff
etc) go to /etc/rc2.d amd move the symlink:

| [EMAIL PROTECTED]:/etc/rc2.d$ sudo mv S20tor K20tor 
| [EMAIL PROTECTED]:/etc/rc2.d$ 

(if you're normaly in runlevel 2, otherwise go to a different directory).


Since the maintainer scripts use invoke-rc.d instead of calling the init
script directly this means that it's no longer started:

| [EMAIL PROTECTED]:~$ sudo apt-get install --reinstall tor
| Reading package lists... Done
| Building dependency tree... Done
| The following packages will be upgraded:
|   tor
| 1 upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
| Need to get 0B/732kB of archives.
| After unpacking 0B of additional disk space will be used.
| Reading changelogs...
| (Reading database ... 201980 files and directories currently installed.)
| Preparing to replace tor 0.1.1.12-alpha-1 (using 
.../tor_0.1.1.12-alpha-1_amd64.deb) ...
| Stopping tor daemon: not running (there is no /var/run/tor/tor.pid).
| Unpacking replacement tor ...
| Setting up tor (0.1.1.12-alpha-1) ...
| debian-tor uid check: ok
| debian-tor homedir check: ok
| 
| [EMAIL PROTECTED]:~$ 

HTH.

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