I've built Firefox on CentOS and am having trouble setting default preferences. According to the official docs:Create a JavaScript file in defaults/pref (on Linux) called autoconfig.jsHere is my /tmp/ff-build/bin/defaults/pref/autoconfig.js:// First line must be a commentpref(general.config.filename, mozconfig.cfg);pref(general.config.obscure_value, 0);Create a .cfg file (by convention, mozilla.cfg  it can be any file  name really; it just has to match what is specified in  general.config.filename preference, above) in the program directory.Here is my /tmp/ff-build/bin/mozconfig.cfg where the only firefox binary is:// Disable updaterlockPref(app.update.enabled, false);// make absolutely sure it is really offlockPref(app.update.auto, false);lockPref(app.update.mode, 0);lockPref(app.update.service.enabled, false);// Disable updaterlockPref(app.update.enabled, false);Firefox will run fine without the autoconfig.js present, but with the configuration above Firefox fails to start with a popup displaying:Failed to read the configuration file. Please contact your system  administrator.I've tried copying the mozconfig.cfg to several directories but with no change. How to make Firefox accept the mozconfig.cfg file? Am I misunderstanding the docs? (Profiles are deleted and recreated so the solution won't involve adding anything to a ~/ based folder. The above is to get default preferences working. Thank you.)
Firefox not reading default configuration file
centos;configuration;firefox