ungoogled-chromium: Ungoogled Chromium doesn't try to install ExtensionInstallForceList
OS/Platform
Arch Linux
Installed
https://ungoogled-software.github.io/ungoogled-chromium-binaries/
Version
Version 117.0.5938.88 (Official Build, ungoogled-chromium) Arch Linux (64-bit)
Have you tested that this is not an upstream issue or an issue with your configuration?
- I have tried reproducing this issue in Chrome and it could not be reproduced there
- I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
- I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using
--user-data-dircommand line argument and it could not be reproduced there
Description
Ungoogled Chromium doesn’t install the extensions from the managed policy ExtensionInstallForceList
How to Reproduce?
- Install the following managed policy
{
"ExtensionInstallForcelist": [
"cjpalhdlnbpafiamejdnhcphjbkeiagm;http://clients2.google.com/service/update2/crx?response=updatecheck&x=id%3Dcjpalhdlnbpafiamejdnhcphjbkeiagm"
]
}
- For Ungoogled Chromium on Archlinux
/etc/chromium/policies/managed/policy.json - For Google Chrome on Archlinux
/etc/opt/chrome/policies/managed/policy.json(to compare)
- Start UG/Chrome with an empty profile.
Actual behaviour
Ungoogled Chromium won’t show any extension in about://extensions and searching the chrome_debug.log for the extension id or Forced extension (in case of failure) won’t return anything.
Expected behaviour
Google Chrome actually shows a policy managed extension
And searching in the
chrome_debug.log for the extension id returns multiple lines.
Relevant log output
// Sample case of failure for Chromium Web Store
[153207:153207:0924/012949.495575:WARNING:load_error_reporter.cc(74)] Extension error: Expected version "1.5.3", but version was "1.5.3.1"
[153207:153207:0924/012949.495619:WARNING:force_installed_metrics.cc(481)] Failed to install 1 forced extensions.
[153207:153207:0924/012949.495637:WARNING:force_installed_metrics.cc(518)] Forced extension ocaahdebbfolfmndjeplogmgcagdmblk failed to install with data=failure_reason: 20; install_error_detail: 4; install_stage: 4; downloading_cache_status: 2
// Sample case of success for uBlock Origin
[153207:153247:0924/012948.403527:VERBOSE1:content_verifier.cc(630)] OnFetchComplete cjpalhdlnbpafiamejdnhcphjbkeiagm success:1
[153364:1:0924/012948.513346:VERBOSE1:script_context.cc(143)] Created context:
extension id: cjpalhdlnbpafiamejdnhcphjbkeiagm
frame: 0x3aaf001edda0
URL:
context_type: BLESSED_EXTENSION
effective extension id: cjpalhdlnbpafiamejdnhcphjbkeiagm
effective context type: BLESSED_EXTENSION
Additional context
Relevant documentation :
- https://chromeenterprise.google/policies/#ExtensionInstallForcelist
- https://serverfault.com/a/354635
For extensions in the Chrome Extension Store, the update URL part is optional, I added the explicit manifest URL because I figured Ungoogled Chromium domains nullification would cause issues.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 1
- Comments: 16 (7 by maintainers)
One could browse through sources in order to find out how this policy actually works. Good starting point might be ?q=ExtensionInstallForceList