Closed
Bug 275079
Opened 20 years ago
Closed 20 years ago
Firefox only opens if user is root.
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: calfeejg, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Not sure this is my problem or your problem. Running Mozilla 1.7.3 (works fine) and firefox 1.0. Seemed to work fine as long as run under root but when under some other user name, get the following: *** loading the extensions datasource *** loading the extensions datasource *** loading the extensions datasource *** loading the extensions datasource until if finally runs out of datasources to try. Reproducible: Always Steps to Reproduce: 1. As root, install firefox in dir /usr/lib/firefox-1.0 2. Normally, would be run from firefox script in /usr/bin but fails even when run from firefox directory manually. 3. Works in both cases if you are root. Actual Results: Got the following messages until ^c or it runs out of data soruces. Expected Results: Start Firefox
Comment 1•20 years ago
|
||
check your permissions. It should be rw on everything in ~/.mozilla. Also is it a clean install or was there a profile left (in ~/.mozilla/firefox or in ~/.phoenix) from older installations. And it worked for me with Firefox 1.0
| Reporter | ||
Comment 2•20 years ago
|
||
(In reply to comment #1) > check your permissions. It should be rw on everything in ~/.mozilla. Also is it > a clean install or was there a profile left (in ~/.mozilla/firefox or in > ~/.phoenix) from older installations. > > And it worked for me with Firefox 1.0 Everything in ~/.mozilla is rw. All entries show the owner and group to be correct. It was a clean install but there was a version of Mozilla 1.7.3 loaded and still is. I tried removing ~/.mozilla and letting it recreate it but to no avail.
Comment 3•20 years ago
|
||
Also delete (rename) ~/.phoenix and ~/.firefox if you have them. Check if firefox is restarting itself. There was a "infinite restart" bug around 0.9. Also if you feel comfortable with simple debugging, try inserting dump() statements in firefox-1.0/components/nsExtensionManager.js to see where it's failing.
| Reporter | ||
Comment 4•20 years ago
|
||
No names to delete and it does not appear to be restarting. The location for
the call to function _ensureDS() occurs in following code:
checkForMismatches: function nsExtensionManager_checkForMismatches ()
{
var needsRestart = false;
this._disableObsoleteExtensions();
// Check to see if the version of the application that is being started
// now is the same one that was started last time.
var currAppVersion = gPref.getCharPref(PREF_EM_APP_EXTENSIONS_VERSION);
try {
var lastAppVersion = gPref.getCharPref(PREF_EM_LAST_APP_VERSION);
}
catch (e) {}
if (currAppVersion != lastAppVersion) {
// Version mismatch, we're have to load the extensions datasource
// and do version checking. Time hit here doesn't matter since this
// doesn't happen all that often.
dump("currentappversion ->"+currAppVersion+"<-\n");
dump("lastAppVersion ->"+lastAppVersion+"<-\n");
this._ensureDS();
The values returned are as follows:
currentappversion ->1.0<-
lastAppVersion ->undefined<-
*** loading the extensions datasource
Comment 5•20 years ago
|
||
Double-check ~/.mozilla/firefox/whatever/extensions/extensions.rdf is readable.
Do all of the '*** loading the extensions datasource' come from there?
Could you check what's the exit point for checkForMismatches - the return
statement or an exception [just insert a "try {" in the beginning and a "}
catch(e) { dump(e) }" after "return"]. What's the value of needsRestart on return?| Reporter | ||
Comment 6•20 years ago
|
||
I am assuming the problem is on my end. I have deleted everything I can find and reinstalled. It now works. Thanks for your help and you can kill the bug report. /Jim
Comment 7•20 years ago
|
||
okay, but do you know what caused this, wrong permissions or something else?
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 8•20 years ago
|
||
I don't have a clue. Everything looked fine. As a matter of fact when I installed one of the try - catch debugging efforts. It inidcated the there was an access problem - didn't say with what, but then started firefox. The only difference between the original install and the last install is that I was logged on as root for the first and su - to root from my normal logon for the second. Duh!
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•