Don't log the message "update.locale file doesn't exist" on Firefox installations with no updater
Categories
(Toolkit :: Application Update, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: ethan.a.glasby, Assigned: erchen)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0
Steps to reproduce:
Opened Firefox
Actual results:
Firefox still runs, but logs reveal a number of errors, one of which is:
15:28:50.151 update.locale file doesn't exist in either the application or GRE directories 2 UpdateUtils.sys.mjs:143:13
getLocale resource://gre/modules/UpdateUtils.sys.mjs:143
Expected results:
Firefox should have locate the update.locale file, or create one if appropriate
Reporter | ||
Comment 1•4 months ago
|
||
Despite what the user agent suggests, the operating system is aarch64+16k Linux
Comment 2•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Application Update' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Hi Ethan, thanks for filing this ticket!
Can you tell me how your Firefox is installed? Was it by the RPM Package Manager by any chance? Or did you download it from the Mozilla website?
Reporter | ||
Comment 4•4 months ago
|
||
(In reply to Eric Chen from comment #3)
Hi Ethan, thanks for filing this ticket!
Can you tell me how your Firefox is installed? Was it by the RPM Package Manager by any chance? Or did you download it from the Mozilla website?
It was installed through the DNF Package Manager. Firefox was installed with "sudo dnf install firefox", and is referred to as the package "firefox-132.0-2.fc40.aarch64" by DNF.
I will also add that my OS is Fedora Asahi Remix which, while officially supported by Fedora, also has some oddities such as its use of 16k pagefile size.
Thanks for the information. Firefox installations from the DNF Package Manager doesn't actually have an updater. Therefore the error messages you're seeing are updater warnings that shouldn't actually be displayed. I'll make a patch to address this.
:Eemeli, should we be packaging the update.locale
file even when the Firefox installation doesn't have an updater?
Updated•4 months ago
|
Comment 10•3 months ago
|
||
Sorry for the delay in answering, I saw the patch landing after the needinfo, and incorrectly presumed that the question had been answered.
The only reason why we might want to include an update.locale
file even if there's no updater is if bug 1391213 might apply (see discussion starting from comment 18); the fix for that also reads the file to determine the default locale.
Do we have any situation (via DNF or otherwise) where localized repack builds are made available without updater? If so, it might be better to rename the file to something like default.locale
and always include it.
(In reply to Eemeli Aro [:eemeli] from comment #10)
Sorry for the delay in answering, I saw the patch landing after the needinfo, and incorrectly presumed that the question had been answered.
The only reason why we might want to include an
update.locale
file even if there's no updater is if bug 1391213 might apply (see discussion starting from comment 18); the fix for that also reads the file to determine the default locale.Do we have any situation (via DNF or otherwise) where localized repack builds are made available without updater? If so, it might be better to rename the file to something like
default.locale
and always include it.
I wonder if the Android fat AARs are like that? They have lots of locales, don't ship the updater, and don't use langpacks (as opposed to MSIX repackages, which do use langpacks).
It sounds like we want to call this default.locale
and just start including it more broadly, but I don't feel strongly about it.
Comment 12•3 months ago
|
||
I filed bug 1936528 for the rename, and while investigating also submitted bug 1936505 regarding locale.ini
.
Updated•19 days ago
|
Description
•