Package: vidalia
Version: 0.1.15-1
Severity: normal

Hi!

When I did execute "aptitude install vidalia" on a system where Tor was
not installed (and thus pulled as a Recommend), I was very suprised to
read that an existing Tor process was detected.

The issue comes from the "config" script, which unconditionally displays
"vidalia/info".  Or debconf-devel(7) says:

  The config script can be run in one of three ways:

  1     If a package is pre-configured, with dpkg-preconfigure, its
        config script is run, and is passed the parameters "configure",
        and installed-version.
  2     When a package's postinst is run, debconf will try to run
        the config script then too, and it will be passed the same
        parameters  it was passed when it is pre-configured. This is
        necessary because the package might not have been
        pre-configured, and the config script still needs to get a
        chance to run. See HACKS for details.
  […]

The way the "config" and "postinst" scripts are written only works in
the second case.  Then wrongly telling me that a running Tor process has
been detected.

Cheers,
-- 
Jérémy Bobbio                        .''`. 
[email protected]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to