Bug#818159: Setting x-www-browser alternative to firefox starts firefox-esr

Gaudenz Steinlin gaudenz at debian.org
Mon Mar 14 10:30:50 UTC 2016


Package: firefox
Version: 46.0~b1-1
Severity: important

Setting the x-www-browser alternative to firefox does not work because
the logic in /usr/bin/firefox to detect which version should be started
fails. The problem is that $0 in this case is /usr/bin/x-www-browser and
the script then checks for /usr/bin/x-www-browser.real instead of
/usr/bin/firefox.real.

I'm not sure what the purpose of the /usr/bin/firefox script is. If it's
only there to allow starting firefox-esr as firefox as long as the
firefox package is not installed, then it could be simplyfied to just
check for /usr/bin/firefox.real and start that if it exists and start
firefox-esr otherwise. Like this it would no longer use $0 and not
depend on the name it's called.

Another option to solve this issue would be to let the alternative point 
to firefox.real directly.

Gaudenz

-- Package-specific info:

-- Extensions information
Name: Adblock Plus
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Package: xul-ext-adblock-plus
Status: enabled

Name: Certificate Patrol
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/CertPatrol at PSYC.EU
Package: xul-ext-certificatepatrol
Status: enabled

Name: Debian buttons
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{8fb11c5b-84eb-4da0-9128-292eacce2dcb}
Package: xul-ext-debianbuttons
Status: enabled

Name: Default theme
Location: /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
Package: firefox
Status: enabled

Name: Deutsch (DE) Language Pack locale
Location: /usr/lib/firefox/browser/extensions/langpack-de at firefox.mozilla.org.xpi
Package: firefox-l10n-de
Status: enabled

Name: DNSSEC/TLSA Validator
Location: ${PROFILE_EXTENSIONS}/dnssec at nic.cz
Status: enabled

Name: Element Hiding Helper for Adblock Plus
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/elemhidehelper at adblockplus.org
Package: xul-ext-adblock-plus-element-hiding-helper
Status: enabled

Name: Ember Inspector
Location: ${PROFILE_EXTENSIONS}/ember-inspector at emberjs.com.xpi
Status: user-disabled

Name: Extended DNSSEC Validator
Location: ${PROFILE_EXTENSIONS}/extended-validator at os3sec.org
Status: user-disabled

Name: Firebug
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/firebug at software.joehewitt.com
Package: xul-ext-firebug
Status: enabled

Name: Firefox Hello Beta
Location: ${PROFILE_EXTENSIONS}/loop at mozilla.org.xpi
Status: enabled

Name: Flashblock
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{3d7eb24f-2740-49df-8937-200b1cc08f8a}
Package: xul-ext-flashblock
Status: enabled

Name: Français Language Pack locale
Location: /usr/lib/firefox/browser/extensions/langpack-fr at firefox.mozilla.org.xpi
Package: firefox-l10n-fr
Status: enabled

Name: Ghostery
Location: ${PROFILE_EXTENSIONS}/firefox at ghostery.com.xpi
Status: enabled

Name: GNOME Keyring integration
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/gnome-keyring-integration at sebastianwick.net
Package: xul-ext-gnome-keyring
Status: user-disabled

Name: HTTPS-Everywhere
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/https-everywhere-eff at eff.org
Package: xul-ext-https-everywhere
Status: enabled

Name: JS Deminifier
Location: ${PROFILE_EXTENSIONS}/jsdeminifier at murphy.ben.name.xpi
Status: enabled

Name: Lightbeam
Location: ${PROFILE_EXTENSIONS}/jid1-F9UJ2thwoAm5gQ at jetpack.xpi
Status: enabled

Name: Monkeysphere
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/tls-xul-ext at monkeysphere.info
Package: xul-ext-monkeysphere
Status: enabled

Name: NoScript
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{73a6fe31-595d-460b-a920-fcc0f8843232}
Package: xul-ext-noscript
Status: enabled

Name: Operator
Location: ${PROFILE_EXTENSIONS}/{95C9A302-8557-4052-91B7-2BB6BA33C885}.xpi
Status: enabled

Name: Pocket
Location: ${PROFILE_EXTENSIONS}/firefox at getpocket.com.xpi
Status: enabled

Name: PrefBar
Location: ${PROFILE_EXTENSIONS}/{8A6C82A1-F6C9-481a-AAE7-C96444C9A754}
Status: enabled

Name: Privacy Badger
Location: ${PROFILE_EXTENSIONS}/jid1-MnnxcxisBPnSXQ-eff at jetpack.xpi
Status: enabled

Name: Send Tab to Device
Location: ${PROFILE_EXTENSIONS}/jid1-mdjmA7if6lo8lA at jetpack.xpi
Status: enabled

Name: ShareMeNot
Location: ${PROFILE_EXTENSIONS}/sharemenot at franziroesner.com.xpi
Status: user-disabled

Name: User Agent Switcher
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}
Package: xul-ext-useragentswitcher
Status: enabled

Name: Video WithOut Flash
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/vwof at drev.com
Package: xul-ext-video-without-flash
Status: enabled

Name: WOT
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{a0d7ccb3-214d-498b-b4aa-0e8fda9a7bf7}
Package: xul-ext-wot
Status: enabled

-- Plugins information
Name: Gnome Shell Integration
Location: /usr/lib/mozilla/plugins/libgnome-shell-browser-plugin.so
Package: gnome-shell
Status: enabled

Name: IcedTea-Web Plugin (using IcedTea-Web 1.6.2pre (1.6.1-4))
Location: /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so
Package: icedtea-7-plugin:amd64
Status: enabled

Name: iTunes Application Detector
Location: /usr/lib/mozilla/plugins/librhythmbox-itms-detection-plugin.so
Package: rhythmbox-plugins
Status: enabled


-- Addons package information
ii  firefox        46.0~b1-1    amd64        Mozilla Firefox web browser
ii  firefox-l10n-d 46.0~b1-1    all          German language package for Firef
ii  firefox-l10n-f 46.0~b1-1    all          French language package for Firef
ii  gnome-shell    3.18.1-1     amd64        graphical shell for the GNOME des
ii  icedtea-7-plug 1.6.1-4      amd64        web browser plugin based on OpenJ
ii  rhythmbox-plug 3.3-1        amd64        plugins for rhythmbox music playe
ii  xul-ext-adbloc 2.7.2+dfsg-1 all          advertisement blocking extension 
ii  xul-ext-adbloc 1.3.7-1      all          companion for Adblock Plus to cre
ii  xul-ext-certif 2.0.14-4     all          Certificate Monitor for Iceweasel
ii  xul-ext-debian 1.11-1       all          Buttons for querying Debian-relat
ii  xul-ext-firebu 2.0.14-1     all          web development plugin for Icewea
ii  xul-ext-flashb 1.5.20-1     all          Mozilla extension to block Adobe 
ii  xul-ext-gnome- 0.10-1       all          Store mozilla passwords in GNOME 
ii  xul-ext-https- 5.1.1-2      all          extension to force the use of HTT
ii  xul-ext-monkey 0.8-2        all          Iceweasel/Firefox extension for u
ii  xul-ext-noscri 2.9.0.4-1    all          permissions manager for Iceweasel
ii  xul-ext-userag 0.7.3-2      all          Iceweasel/Firefox addon that allo
ii  xul-ext-video- 3.1.1-1      all          extension to watch videos without
ii  xul-ext-wot    20151208-1   all          show which websites are trustwort

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages firefox depends on:
ii  debianutils               4.7
ii  fontconfig                2.11.0-6.3
ii  libasound2                1.1.0-1
ii  libatk1.0-0               2.18.0-1
ii  libc6                     2.21-9
ii  libcairo2                 1.14.6-1
ii  libdbus-1-3               1.10.6-1
ii  libdbus-glib-1-2          0.106-1
ii  libevent-2.0-5            2.0.21-stable-2+b1
ii  libffi6                   3.2.1-4
ii  libfontconfig1            2.11.0-6.3
ii  libfreetype6              2.6.3-3
ii  libgcc1                   1:5.3.1-11
ii  libgdk-pixbuf2.0-0        2.32.3-1.2
ii  libglib2.0-0              2.46.2-3
ii  libgtk-3-0                3.18.8-1
ii  libgtk2.0-0               2.24.30-1
ii  libhunspell-1.3-0         1.3.3-3+b2
ii  libnspr4                  2:4.12-1
ii  libnss3                   2:3.23-1
ii  libpango-1.0-0            1.38.1-1
ii  libsqlite3-0              3.10.2-1
ii  libstartup-notification0  0.12-4
ii  libstdc++6                5.3.1-11
ii  libvpx3                   1.5.0-2
ii  libx11-6                  2:1.6.3-1
ii  libxcomposite1            1:0.4.4-1
ii  libxdamage1               1:1.1.4-2+b1
ii  libxext6                  2:1.3.3-1
ii  libxfixes3                1:5.0.1-2+b2
ii  libxrender1               1:0.9.9-2
ii  libxt6                    1:1.1.5-1
ii  procps                    2:3.3.11-3
ii  zlib1g                    1:1.2.8.dfsg-2+b1

Versions of packages firefox recommends:
ii  gstreamer1.0-libav         1.6.3-1
ii  gstreamer1.0-plugins-good  1.6.3-1

Versions of packages firefox suggests:
ii  fonts-lmodern          2.004.5-1
ii  fonts-stix [otf-stix]  1.1.1-4
ii  libcanberra0           0.30-2.1
ii  libgnomeui-0           2.24.5-3.1
ii  libgssapi-krb5-2       1.13.2+dfsg-5
pn  mozplugger             <none>

-- no debconf information



More information about the pkg-mozilla-maintainers mailing list