rpm-ostree/docs/countme.md
Timothée Ravier 19e40a8708 countme: Force disable Count Me logic in DNF
Make sure that we do not use the internal Count Me logic in DNF in
rpm-ostree as we have our own external implementation that is aware of
the different behavior regarding repo handling.

See also the discussions in:
  - https://github.com/rpm-software-management/libdnf/issues/1174
  - https://github.com/rpm-software-management/libdnf/issues/1068
  - https://github.com/coreos/rpm-ostree/pull/2671

Also remove the corresponding note in the docs which not needed anymore.
2021-04-16 16:01:43 -04:00

1.1 KiB

nav_order
4

DNF Count Me support

{: .no_toc }

  1. TOC {:toc}

Classic DNF based operating systems can use the DNF Count Me feature to anonymously report how long a system has been running without impacting the user privacy. This is implemented as an additional countme variable added to requests made to fetch RPM repository metadata. On those systems, this value is added randomly to requests made automatically via the dnf-makecache.timer or via explicit calls to dnf update or dnf install.

However, this does not work for rpm-ostree based systems as in the default case (no package overlayed on top of the base commit), rpm-ostree will not fetch any RPM repository metadata at all.

Thus rpm-ostree includes a distinct timer (rpm-ostree-countme.timer), triggered weekly, that implement the DNF Count Me functionality in a standalone way.

Disabling DNF Count Me on a system

To disable this feature, you need to stop the rpm-ostree-countme.timer and mask the corresponding unit as a precaution:

$ systemctl mask --now rpm-ostree-countme.timer