Red Hat Bugzilla – Bug 471430
Firefox fails to find custom configuration file
Last modified: 2008-11-15 20:15:13 EST
Description of problem:
Firefox provides a method of locking preferences via the "general.config.filename". However Fedora's build of firefox fails to find the configuration file. It will read the "general.config.filename" setting and is either looking in the wrong place for the config file or fails to read it altogether.
Version-Release number of selected component (if applicable):
This is with version 3.0.2-1
Steps to Reproduce:
1. touch /usr/lib64/firefox-3.0.2/defaults/preferences/loadcustom.js
echo "// tell firefox to load customized config file" >> /usr/lib64/firefox-3.0.2/defaults/preferences/loadcustom.js
echo "pref("general.config.obscure_value", 0);" >> /usr/lib64/firefox-3.0.2/defaults/preferences/loadcustom.js
echo "pref("general.config.filename", "mozilla.cfg");" >> /usr/lib64/firefox-3.0.2/defaults/preferences/loadcustom.js
2. touch /usr/lib64/firefox-3.0.2/mozilla.cfg
echo "// lock browser to auto-detect proxy settings" >> /usr/lib64/firefox-3.0.2/mozilla.cfg
echo "lockPref("network.proxy.type", 4);"
3. Start-up Firefox.
You'll receive the following pop-up message
"Failed to read the configuration file. Please contact your system administrator." click on OK and firefox closes.
Firefox should open to the user's configured start page. *AND* Firefox should be configure to auto-detect proxy settings *AND* the user _can't_ change that setting.
I confirmed this is a bug with Fedora's build by trying the binary from mozilla.org
*** This bug has been marked as a duplicate of bug 442406 ***
This closing of the bug means, that whatever happens will be in https://bugzilla.mozilla.org/show_bug.cgi?id=429141 not in our bugzilla.
Whole point is that with splitting between xurlrunner and firefox (which hasn't happened upstream), some files moved to the xulrunner directory from the firefox one.