Closed
Bug 1429153
Opened 6 years ago
Closed 6 years ago
Policy: Disable Telemetry
Categories
(Firefox :: Enterprise Policies, defect, P1)
Firefox
Enterprise Policies
Tracking
()
VERIFIED
FIXED
Firefox 61
Tracking | Status | |
---|---|---|
firefox59 | --- | unaffected |
firefox60 | + | verified |
firefox61 | --- | verified |
People
(Reporter: Felipe, Assigned: mkaply)
References
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
Felipe
:
review+
RyanVM
:
approval-mozilla-beta+
|
Details |
Policy: Disable telemetry https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/internals/preferences.html
Comment 1•6 years ago
|
||
The referenced page has some typographic errors More importantly, it calls out for reducing some data to tables, and red and green 'hints' to help decode the Boolean 'double negatives' to see what the net effects are It also has a mish-mash of: is_defined, is _non-null, and is_not_defined possibilities, which prevent being able to choose a desired end state, define several values, and to know that a desired set of lockdown state is achieved. Surely there must be a policy for naming which is being disregarded, here, and a cleanup is possible under the existing prefs parser
Comment 2•6 years ago
|
||
Georg is the subject matter point of contact for telemetry.
Reporter | ||
Comment 3•6 years ago
|
||
Hi Georg, Chutten, what do you think is the most recommended way for the policy engine to disable telemetry? I'm looking for the smallest set of changes (by changing and locking prefs) that will achieve the following: - disable telemetry - do not display the privacy notice if it has not been displayed yet - gray out the telemetry checkbox in about:preferences - (optionally) display the "not supported in this build configuration" message, hopefully with a different string
Flags: needinfo?(gfritzsche)
Flags: needinfo?(chutten)
Comment 4•6 years ago
|
||
For disabling telemetry and greying out the checkbox in about:preferences, set `datareporting.healthreport.uploadEnabled` to false and lock it[1]. For the background tab showing the Privacy Notice, I don't know that system as well. According to the docs[2], `datareporting.policy.dataSubmissionEnabled` is a kill switch. Checking the code, if you set that to false no notification will be shown[3] and no data will uploaded[4]. So: lock healthreport.uploadEnabled to false and set policy.dataSubmissionEnabled to false and you should be covered? ...this is only for Desktop Firefox, right? Fennec's a whole other ball of wax. [1]: https://searchfox.org/mozilla-central/rev/84cea84b12145d752e50ddca6be5462c38510e35/browser/components/preferences/in-content/privacy.js#1574 [2]: https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/internals/preferences.html#data-choices-notification [3]: https://searchfox.org/mozilla-central/rev/84cea84b12145d752e50ddca6be5462c38510e35/toolkit/components/telemetry/TelemetryReportingPolicy.jsm#371 [4]: https://searchfox.org/mozilla-central/rev/84cea84b12145d752e50ddca6be5462c38510e35/toolkit/components/telemetry/TelemetryReportingPolicy.jsm#343
Flags: needinfo?(chutten)
Comment 5•6 years ago
|
||
What Chris said. For showing a message, i think you'll need to update browser/components/preferences/in-content/privacy.{xul,js}. Currently this is using only build flags.
Flags: needinfo?(gfritzsche)
Assignee | ||
Comment 6•6 years ago
|
||
This should be an enterprise only policy.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → mozilla
Comment hidden (mozreview-request) |
Reporter | ||
Comment 8•6 years ago
|
||
mozreview-review |
Comment on attachment 8963349 [details] Bug 1429153 - Add policy for disabling telemetry. https://reviewboard.mozilla.org/r/232252/#review237752
Attachment #8963349 -
Flags: review?(felipc) → review+
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/61f766367616 Add policy for disabling telemetry (ESR only). r=Felipe
Assignee | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 10•6 years ago
|
||
[Tracking Requested - why for this release]: Enterprise policy
tracking-firefox60:
--- → ?
Comment 11•6 years ago
|
||
Backed out changeset 61f766367616 (bug 1429153) for browser-chrome failures at /browser/browser_policies_sorted_alphabetically.js on a CLOSED TREE Failure push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=61f7663676161c7fefc50a07f627e17d7fb2ea9d Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=171037975&repo=autoland&lineNumber=3545 Backout: https://hg.mozilla.org/integration/autoland/rev/47d7fce147b3ab4aa971a61b313f9cc926ccda30
Flags: needinfo?(mozilla)
Comment hidden (mozreview-request) |
Comment 13•6 years ago
|
||
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/006f9ab160b9 Add policy for disabling telemetry. r=Felipe
Comment 14•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/006f9ab160b9
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Assignee | ||
Comment 15•6 years ago
|
||
Comment on attachment 8963349 [details] Bug 1429153 - Add policy for disabling telemetry. Approval Request Comment [Feature/Bug causing the regression]: Enteprise Policies [User impact if declined]: [Is this code covered by automated tests?]: Yes [Has the fix been verified in Nightly?]: [Needs manual test from QE? If yes, steps to reproduce]: No [List of other uplifts needed for the feature/fix]: None [Is the change risky?]: No [Why is the change risky/not risky?]: Policy Only [String changes made/needed]: None
Flags: needinfo?(mozilla)
Attachment #8963349 -
Flags: approval-mozilla-beta?
Reporter | ||
Updated•6 years ago
|
Comment 16•6 years ago
|
||
Comment on attachment 8963349 [details] Bug 1429153 - Add policy for disabling telemetry. More Policy Engine work needed for Fx60. Approved for 60.0b9.
Attachment #8963349 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 17•6 years ago
|
||
We tested this on latest nightly with JSON format and it is verified as fixed. In this fix, telemetry data upload is disabled. It will also be tested with adm policy format when available. Test cases and runs are here: https://testrail.stage.mozaws.net/index.php?/plans/view/8760
Comment 18•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/60416c55a73b
Flags: in-testsuite+
Updated•6 years ago
|
Comment 19•6 years ago
|
||
We retested this on beta builds[FX60] with ADM and JSON policy formats and it is verified as fixed. Test cases and runs are here- https://testrail.stage.mozaws.net/index.php?/plans/view/8760
You need to log in
before you can comment on or make changes to this bug.
Description
•