How to Opt Out of System Information Reports

There are at least four pieces of spyware installed by default on ubuntu 18.04 bionic and the accepted answer only really disables popcon.

Why ` ubuntu-report -f send no ` doesn't work

You didn't have to sudo it beacuse it doesn't set a system-global flag. The net effect of telling ubuntu-report not to send reports is twofold,

  1. It sends a report anyway. Admittedly, the opt-out version of the report just says {OptOut:true}, but it's still hitting the telemetry server, leaking your IP and HTTP headers.
  2. It saves your preference in your home folder, e.g. /home/yournamehere/.cache/ubuntu-report, which means every user on your system would need to run this command to stop the machine from phoning home.

What to do instead

  • Install offline, or block access to metrics.ubuntu.com and popcon.ubuntu.com on your router.
  • Remove the spyware using apt purge: sudo apt purge ubuntu-report popularity-contest apport whoopsie

Further reading

  • ubuntu-devel mailing list thread where ubuntu-report was first proposed

Questions on here:

  • What is the Whoopsie process and how can I remove it?
  • Removing popularity-contest without trashing the system?
  • How can I permanently disable apport?

Source code

  • ubuntu-report
  • apport
  • whoopsie
  • popularity contest

Docker users rejoice

As of 30 April 2018, the ubuntu:bionic docker image at the docker hub does not include any of this stuff.

PSA

The price of freedom is eternal vigilance.


To opt-out of future telemetry reporting, issue the following command:

ubuntu-report -f send no

This command will send Canonical a brief message stating that your system is opting out of all future reporting. No other system data is sent.

Note that it still helps Canonical keep an accurate count of live installations.

Rather than simply appearing once in their records (a flash in the pan, or test installation) you will have notified them that your system is still running and that lack of future reports should be considered normal.

======================================================

Note that when you use the Software installation tool in Unity, that data is sent from your system as a part of their "Popularity Contest" - this has been happening since at least 14.04 LTS.

So I also put up a succinct answer to the old question about whether disabling that will hurt your system. (Short answer, no):

Removing popularity-contest without trashing the system?

Excerpt:

To remove the package entirely in Ubuntu 16.04 LTS

sudo apt-get remove popularity-contest

Yes, it mentions ubuntu-standard in the removal dialog.
So look at this list:

Packages Related to ubuntu-standard (Ubuntu.com)

Notice that nano is included in the Ubuntu Standard list.

To verify that removing popularity-contest via this method has not hurt the system, try it out:

nano test.tmp

and you will see that nano still works fine.

In other words, removing the install stub left over from the initial installation of the Ubuntu Standard packages will not damage the system in other ways.


Final step: Remove the daily cron entry

sudo rm /etc/cron.daily/popularity-contest


For Ubuntu 16.04 LTS, the settings are still available after install, at any time, in the Activity Log Manager.

Here are some screenshots of it in action:

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

The very first screen shot shows the sending of information to Canonical.

The rest affect the size of your log files.