Package: thunderbird
Version: 1:78.6.0-1~deb10u1
Severity: important

Dear Maintainer,
the thunderbird wrapper [1] shipped in this package make use of the following
environment variables to make sure the application knows where it was executed
from:

* MOZ_APP_NAME
* MOZ_APP_LAUNCHER
* MOZ_LIBDIR

The use of MOZ_APP_LAUNCHER is the source of some problems when Thunderbird and
Firefox are both used on the same system.

Firefox checks the variable value in nsGNOMEShellService::GetAppPathFromLauncher
and uses that to check if it's set as the default browser in nsGNOMEShellService
::IsDefaultBrowser.
If Thunderbird is open and the user clicks on a link, the Firefox subprocess
inherits all the environment variables, including MOZ_APP_LAUNCHER. Doing so
causes Firefox to think its name is Thunderbird (...) and prompt the user to
make it the default browser, wreaking havoc in the process.

It's unclear whose bug is this, Firefox upstream [2] stated this problem should
probably be solved on the Thunderbird side.

On the Debian side I don't really know what could be a good solution.
If the use of the `MOZ_*` variables is strictly needed then I guess it's up to
the firefox (and firefox-esr) packages to add a small wrapper script that
overwrites the MOZ_APP_LAUNCHER upon launch.

Cheers,
AC

[1] 
https://salsa.debian.org/mozilla-team/thunderbird/-/blob/debian/sid/debian/thunderbird-wrapper.sh
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1494436

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages thunderbird depends on:
ii  debianutils         4.8.6.1
ii  fontconfig          2.13.1-2
ii  libatk1.0-0         2.36.0-2~bpo10+1
ii  libbotan-2-9        2.9.0-2
ii  libbz2-1.0          1.0.6-9.2~deb10u1
ii  libc6               2.28-10
ii  libcairo-gobject2   1.16.0-4
ii  libcairo2           1.16.0-4
ii  libdbus-1-3         1.12.20-0+deb10u1
ii  libdbus-glib-1-2    0.110-4
ii  libevent-2.1-6      2.1.8-stable-4
ii  libffi6             3.2.1-9
ii  libfontconfig1      2.13.1-2
ii  libfreetype6        2.9.1-3+deb10u2
ii  libgcc1             1:8.3.0-6
ii  libgdk-pixbuf2.0-0  2.38.1+dfsg-1
ii  libglib2.0-0        2.58.3-2+deb10u2
ii  libgtk-3-0          3.24.5-1
ii  libjson-c3          0.12.1+ds-2+deb10u1
ii  libpango-1.0-0      1.42.4-8~deb10u1
ii  libstdc++6          8.3.0-6
ii  libx11-6            2:1.6.7-1+deb10u1
ii  libx11-xcb1         2:1.6.7-1+deb10u1
ii  libxcb-shm0         1.13.1-2
ii  libxcb1             1.13.1-2
ii  libxext6            2:1.3.3-1+b2
ii  libxrender1         1:0.9.10-1
ii  psmisc              23.2-1
ii  x11-utils           7.7+4
ii  zlib1g              1:1.2.11.dfsg-1

Versions of packages thunderbird recommends:
ii  hunspell-en-us [hunspell-dictionary]  1:2018.04.16-1

Versions of packages thunderbird suggests:
ii  apparmor          2.13.2-10
ii  fonts-lyx         2.3.2-1
ii  libgssapi-krb5-2  1.17-3+deb10u1
ii  libgtk2.0-0       2.24.32-3

-- no debconf information

Reply via email to