[Reportbug-maint] Bug#590242: now without the email variable in ~/.bashrc

Neil Williams codehelp at debian.org
Sun Aug 1 21:23:07 UTC 2010

Package: reportbug
Version: 4.12.4em1
Severity: normal

Reconfigured from a terminal started afresh after commenting out the setting of
the EMAIL environment variable and then reconfiguring reportbug to simulate
where the user hadn't set such a variable at all.

This time, configuring reportbug didn't find the email address to use, so it
invented a local one which I replaced and which then appeared in the

So this bug is actually that reportbugrc fails to get the environment variable
using the desktop file (because that was set in ~/.bashrc) which it would use
when loaded from the command line. Not really a fault in reportbug (as long as
this one sends OK).

I don't know whether reportbug would be able to source the ~/.bashrc even when
using the GTK2 frontend which would avoid this potential problem, particularly
as other command line programs will re-use the same variable.

-- Package-specific info:
** Environment settings:

** /home/neil/.reportbugrc:
reportbug_version "4.12.4"
mode novice
ui gtk2
email "codehelp at debian.org"
header "X-Debbugs-CC: codehelp at debian.org"
smtphost reportbug.debian.org

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                 Advanced front-end for dpkg (gripp
ii  python                       2.6.5-5em1  An interactive high-level object-o
ii  python-reportbug             4.12.4em1   Python modules for interacting wit

reportbug recommends no packages.

reportbug suggests no packages.

-- no debconf information
-------------- next part --------------
# reportbug preferences file
# character encoding: UTF-8
# Version of reportbug this preferences file was written by
reportbug_version "4.12.4"
# default operating mode: one of: novice, standard, advanced, expert
mode novice
# default user interface
ui gtk2
# offline setting - comment out to be online
# name and email setting (if non-default)
# realname "Neil Williams"
email "codehelp at debian.org"
# Disable fallback mode by commenting out the following:
header "X-Debbugs-CC: codehelp at debian.org"
smtphost reportbug.debian.org
# You can add other settings after this line.  See
# /etc/reportbug.conf for a full listing of options.

More information about the Reportbug-maint mailing list