Closed Bug 279178 Opened 21 years ago Closed 21 years ago

general.config.filename value ignored and prefs file no longer loaded at startup

Categories

(Thunderbird :: Preferences, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: baz, Assigned: mscott)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050113 Firefox/1.0 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050113 Firefox/1.0 The preferences file set in greprefs/all.js via: pref("general.config.filename", "mozilla-web-tux.cfg"); pref("general.config.vendor", "mozilla-web-tux"); is no longer loaded, and hence the autoconfiguration pref: pref("autoadmin.global_config_url", <url>) can no longer be set. We use this to provide a url that configures mozilla, firefox and thunderbird. We are using firefox-1.0, mozilla-1.7.5, for which the autoconf still works, however after moving from thunderbird-0.8 to thunderbird-1.0 (20050112) this no longer works. Checking chrome://global/content/config.xul indicates that the general.config.[filename|vendor] are being loaded from the greprefs/all.js file. The correct value of config.general.obscure_value is also being set in defaults/pref/all-thunderbird.js. Running thunderbird-bin with strace and checking for file accesses indicates the the file specified in the config.general.filename is not even looked for nor attempted to be opened. Reproducible: Always Steps to Reproduce: 1. add pref("general.config.filename", "mozilla-web-tux.cfg"); pref("general.config.vendor", "mozilla-web-tux"); to greprefs/all.js 2. perform a byte shift of the relevant amount (see value of config.general.obscure_value) on a file as named above in general.config.filename. This file contains: pref("general.config.vendor", "mozilla-web-tux"); pref("autoadmin.global_config_url","http://someurl"); and is placed in the thunderbird install dir (/usr/bin/MozillaThunderbird). 3. run thunderbird Actual Results: Create new email account dialog is loaded, no autoconfiguration occurs. strace indicates that the filename specifies in general.config.filename is not looked for , although the general.config.[filename|vendor] settings have been loaded. Web logs indicate that there was no connection attempt from the machine when thunderbird was started. Expected Results: Contacted web server and download file containing site specific configuration settings.
is autoconfig.dll in your components dir? We don't ship it with thunderbird by default, and without it, MCD won't work at all.
*** Bug 279180 has been marked as a duplicate of this bug. ***
Checked the components directory and there was no such file. Looking at the 0.8 install we had, I found a libautoconfig.so file. Copying this into the components directory of the 1.0 install didn't resolve the issue. How do we get the relevant version of this library for version 1.0 of thunderbird? (I had a quick look at the configure file and there doesn't seem to be an option to cause this to be built). Thanks for the quick reply, BTW 8)
(In reply to comment #3) > How do we get the relevant version of this library for version 1.0 of > thunderbird? (I had a quick look at the configure file and there doesn't seem > to be an option to cause this to be built). Add ac_add_options --enable-extensions=wallet,pref to your .mozconfig
pref extension has been added by Bug 225288
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Depends on: 225288
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.