cleanup obsolete /etc/gre.d/ files in maintainer scripts (was: firefox: Couldn't load XPCOM)

Bug #294247 reported by Nathan Adams
2
Affects Status Importance Assigned to Milestone
xulrunner-1.9 (Ubuntu)
Won't Fix
High
Unassigned
xulrunner-1.9.1 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: firefox

I just upgraded my system76 pangolin laptop from 8.04 to 8.10 and now firefox-3.0.3 will not launch:

$ firefox
Couldn't load XPCOM.

It appears that xulrunner is not in the path:

$ xpcshell-1.9
xpcshell-1.9: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory

Adding xulrunner to LD_LIBRARY_PATH allows me to launch firefox-3.0.3 from the shell:

$ find /usr/lib -name "libmozjs.so"
/usr/lib/xulrunner-1.9.0.3/libmozjs.so
/usr/lib/xulrunner-1.9.0.1/libmozjs.so
$ export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.0.3
$ firefox

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy firefox
firefox:
  Installed: 3.0.3+nobinonly-0ubuntu2
  Candidate: 3.0.3+nobinonly-0ubuntu2
  Version table:
 *** 3.0.3+nobinonly-0ubuntu2 0
        500 http://us.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

Nathan Adams (nadams)
description: updated
Revision history for this message
Nathan Adams (nadams) wrote :

Archiving obsolete /etc/gre.d files solves the problem:

$ ls -l /etc/gre.d/
total 12
-rwxr-xr-x 1 root root 76 2008-07-28 16:56 1.9.0.1.system.conf
-rwxr-xr-x 1 root root 76 2008-09-25 07:24 1.9.0.3.system.conf
-rwxr-xr-x 1 root root 68 2008-06-10 14:03 1.9.system.conf
$ sudo mv /etc/gre.d/1.9.0.1.system.conf /etc/gre.d/1.9.0.1.system.conf.bak
$ sudo mv /etc/gre.d/1.9.system.conf /etc/gre.d/1.9.system.conf.bak

So firefox is apparently selecting the wrong configuration file for xulrunner at runtime.

Revision history for this message
Alexander Sack (asac) wrote :

actually a xulrunner-1.9 bug

Changed in firefox-3.0:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Alexander Sack (asac) wrote :

I think xulrunner-1.9.1 already does this cleanup ... we should be able to adapt that easily to xulrunner-1.9 package.

Changed in xulrunner-1.9.1:
importance: Undecided → High
status: New → Fix Released
Revision history for this message
Micah Gersten (micahg) wrote :

xulrunner-1.9 is no longer in a supported desktop release, closing

Changed in xulrunner-1.9 (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.