Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1652580[details]
Screenshot of error
Description of problem:
If site policy rules don't allow access to odrs.gnome.org, there isn't a configuration available to completely disable the Gnome Ratings.
Version-Release number of selected component (if applicable):
gnome-software-3.30.6-2.el8
How reproducible:
100%
Steps to Reproduce:
1. Install an RHEL 8 virtual system, make sure to not enable networking.
2. As a normal user launch 'gnome-software'
3. Edit /etc/dconf/db/local.d/00-software with the following contents.
# dconf path
[org/gnome/software]
# GSettings key names and their corresponding values
enable-shell-extensions-repo='false'
review-server=''
4. Make it site-wide mandatory by creating the following file /etc/dconf/db/local.d/locks/software with the contents.
/org/gnome/software/enable-shell-extensions-repo
5. Update the system databases
# dconf update
Actual results:
You get an error dialog that it can't resolve odrs.gnome.org
Expected results:
That the rating system is disabled, and you don't see an error dialog
(In reply to Martin Krajnak from comment #9)
> I support the idea of disabling that in RHEL, it also has it's issues
> outside RHEL as discussed here:
> https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1010
It's not an upstream mirror of this bug.
I think there can be the third option, ignore connection errors to the ODRS server, though maybe not that great for upstream.
That being said, which route to go?
a) on the RHEL side, package the ODRS plugin separately and Recommend it in the main package;
b) add an upstream option to disable the ODRS plugin in runtime;
c) ignore connection errors.
The a) might be the most problematic, you do not want to diverge from the Fedora packaging for sure.
The b) - looking more closely, the option is already there, it's even mentioned in the description above, the 'review-server' GSettings key. The problem is that: 1) its change requires gnome-software restart; 2) filling an empty value is not meant as being disabled.
The best will be to fix things upstream for the b) and eventually backport that change. I opened [1] for it:
https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1143
Reproducer:
1.From terminal execute:
$ gsettings set org.gnome.software review-server ''
$ pkill gnome-software
2.Close terminal and start gnome-sofware from the gnome-shell overview.
3.Review section is hidden for every application
gnome-software-3.36.1-8.el8.x86_64
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 (Moderate: GNOME security, bug fix, and enhancement update), 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/RHSA-2021:4381
Created attachment 1652580 [details] Screenshot of error Description of problem: If site policy rules don't allow access to odrs.gnome.org, there isn't a configuration available to completely disable the Gnome Ratings. Version-Release number of selected component (if applicable): gnome-software-3.30.6-2.el8 How reproducible: 100% Steps to Reproduce: 1. Install an RHEL 8 virtual system, make sure to not enable networking. 2. As a normal user launch 'gnome-software' 3. Edit /etc/dconf/db/local.d/00-software with the following contents. # dconf path [org/gnome/software] # GSettings key names and their corresponding values enable-shell-extensions-repo='false' review-server='' 4. Make it site-wide mandatory by creating the following file /etc/dconf/db/local.d/locks/software with the contents. /org/gnome/software/enable-shell-extensions-repo 5. Update the system databases # dconf update Actual results: You get an error dialog that it can't resolve odrs.gnome.org Expected results: That the rating system is disabled, and you don't see an error dialog