Hide Forgot
This requirement comes from Fedora to enable better stats gathering on metalink servers and mirrors. Fedora Change: https://fedoraproject.org/wiki/Changes/DNF_Better_Counting The change consists of 2 parts: - User-Agent change - countme feature User-Agent ---------- Schemas: libdnf/$libdnf_version ($NAME $VERSION_ID; Linux.$basearch) libdnf/$libdnf_version ($NAME $VERSION_ID; $VARIANT_ID; Linux.$basearch) Examples: libdnf/0.26.0 (Fedora 29; Linux.x86_64) libdnf/0.26.0 (Fedora 29; server; Linux.x86_64) libdnf/0.26.0 (Red Hat Enterprise Linux 7.6; workstation; Linux.x86_64) Countme ------- Add a new 'countme' option to repo configs, for example: [fedora] countme = 1 Create a new dnf sub-command to trigger the countme feature: $ dnf countme Iterate through all repos: if countme == 1: GET($url?countme=1) where $url is first available from [metalink, mirrorlist, baseurl] # consider using HEAD instead of GET Create a systemd timer triggering the `dnf countme` command periodically
libdnf PR: https://github.com/rpm-software-management/libdnf/pull/684 dnf PR: https://github.com/rpm-software-management/dnf/pull/1324 ci-dnf-stack PR: https://github.com/rpm-software-management/ci-dnf-stack/pull/499
After further discussion, it was decided that this should be included in the release notes to ensure full disclosure and trust from users. It should be noted that great care was taken to ensure that this is not user identifiable information and is less detailed than common Web Browser user agent reporting, as well as less detail than other popular linux distributions collect from update repositories. Additionally documentation should included instructions on how this can be disabled in the yum configuration.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1823