Closed Bug 279180 Opened 20 years ago Closed 20 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 DUPLICATE of bug 279178

People

(Reporter: baz, Assigned: mscott)

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.

*** This bug has been marked as a duplicate of 279178 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.