Create Fx update pinning policy and include the pin in the update URL
Categories
(Firefox :: Enterprise Policies, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox102 | --- | fixed |
People
(Reporter: bytesized, Assigned: bytesized)
References
Details
(Whiteboard: [fidedi-ope])
Attachments
(5 files)
This bug is for the work necessary on Firefox itself to implement update pinning. This work will involve 3 parts:
- Adding the Enterprise Policy to the policy engine to allow Firefox to be pinned to a particular version.
- Changing the generation of the Firefox update URL to include the update pin, if it is set. Since the update pin is optional, we will implement it as a query parameter rather than a path component. We already set a few query parameters here.
- Adding telemetry to report the version being pinned.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
This patch also adds the capability for Policy implementations (in Policies.jsm) to have a validate function. If it returns false, the Enterprise Policy engine will consider the policy's parameter to be invalid and the policy will not be activated. This capability is used to validate the update pin policy's parameter to make sure that it takes the expected format ("X." or "X.Y.", where X is the pinned major version and Y is the pinned minor version).
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D143785
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D143786
| Assignee | ||
Comment 4•3 years ago
|
||
Note that these tests only ensure that the pin is properly added to the update URL and to the telemetry. They do not test that the update applied will be of the correct version. This is because we are not attempting to have Firefox check if the update provided is valid given the pin, we are leaving it to the update server (Balrog) to find and serve the correct version.
Depends on D143787
| Assignee | ||
Comment 5•3 years ago
|
||
| Assignee | ||
Comment 6•3 years ago
|
||
Note that I am going to be holding off on merging these patches until the backend changes are ready. This is for two reasons: I can't actually test it without them, and I don't want about:policies to give the impression that this policy exists and works when it doesn't yet.
Comment 7•3 years ago
|
||
Comment on attachment 9273720 [details]
Bug 1762957 data review.md
DATA COLLECTION REVIEW RESPONSE:
Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?
Yes.
Is there a control mechanism that allows the user to turn the data collection on and off?
Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.
If the request is for permanent data collection, is there someone who will monitor the data over time?
Yes, Kirk Steuber is responsible.
Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 2, Interaction.
Is the data collection request for default-on or default-off?
Default on for all channels.
Does the instrumentation include the addition of any new identifiers?
No.
Is the data collection covered by the existing Firefox privacy notice?
Yes.
Does the data collection use a third-party collection tool?
No.
Result: datareview+
| Assignee | ||
Comment 8•3 years ago
|
||
(In reply to Kirk Steuber (he/him) [:bytesized] from comment #6)
Note that I am going to be holding off on merging these patches until the backend changes are ready. This is for two reasons: I can't actually test it without them, and I don't want
about:policiesto give the impression that this policy exists and works when it doesn't yet.
We've decided not to hold these back for the backend changes, so I'll be merging this now even though the backend changes aren't quite ready yet.
Comment 10•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/14bebf899b47
https://hg.mozilla.org/mozilla-central/rev/00f1bccb6b0f
https://hg.mozilla.org/mozilla-central/rev/8bed6fb08dc9
https://hg.mozilla.org/mozilla-central/rev/b5d22712c9f6
Description
•