[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tails-dev
Subject:    [T(A)ILS-dev] vidalia: config script kills system-wide Tor daemon while instructed to let it alone
From:       intrigeri+debian () boum ! org (intrigeri+debian at boum ! org)
Date:       2011-04-18 10:35:49
Message-ID: 85hb9valtm.fsf () boum ! org
[Download RAW message or body]

Package: vidalia
Version: 0.2.10-3
Severity: normal
Tags: patch

Hi,

vidalia.config script contains wrong logic I think: it kills the
system-wide Tor daemon if vidalia/tor-daemon-interaction is set to
"nothing" or "one-off". According to the debconf templates, "nothing"
means:

   * No configuration:
     leave Tor running for now. Vidalia will not be able to
     communicate with Tor until it is manually reconfigured - see
     "/usr/share/doc/vidalia/README.Debian" for more details;

In that case, I don't think Vidalia's config script should interfere
in any way with the system-wide Tor daemon.

On the other hand, when this debconf parameter has the "permanent"
value, I think Vidalia's config script should stop it as documented:

   * Permanent takeover:
     stop Tor and simply let Vidalia handle starting it whenever you
     run Vidalia (not usable on a multi-user system).

The attached Git patch (against current packaging repository master
branch) fixes this, I think.

I'm only setting severity "normal", but this bug may deserve a higher
severity as it interferes with (and even kills) another package's bits
while asked not to do so.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable'), (2, 'testing'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vidalia depends on:
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-8        GCC support library
ii  libqt4-network          4:4.6.3-4        Qt 4 network module
ii  libqt4-xml              4:4.6.3-4        Qt 4 XML module
ii  libqtcore4              4:4.6.3-4        Qt 4 core module
ii  libqtgui4               4:4.6.3-4        Qt 4 GUI module
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries
ii  libstdc++6              4.4.5-8          The GNU Standard C++ Library v3
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv

Versions of packages vidalia recommends:
ii  tor                           0.2.1.30-1 anonymizing overlay network for TC

Versions of packages vidalia suggests:
ii  xul-ext-torbutton [iceweasel- 1.2.5-3    Iceweasel/Firefox extension enabli

-- debconf information:
* vidalia/info: no
* vidalia/tor-daemon-interaction: nothing

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-system-wide-Tor-daemon-handling-to-match-documen.patch
Type: text/x-diff
Size: 1020 bytes
Desc: patch
URL: </pipermail/tails-dev/attachments/20110418/7756fd2b/attachment.patch>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic