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.
Bug 1791478 - Cannot completely disable odrs (Gnome Ratings) from the Software application in Gnome Desktop
Summary: Cannot completely disable odrs (Gnome Ratings) from the Software application ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gnome-software
Version: 8.1
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: 8.4
Assignee: Milan Crha
QA Contact: Martin Krajnak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-15 22:12 UTC by Jacob Hunt
Modified: 2024-10-01 16:27 UTC (History)
5 users (show)

Fixed In Version: gnome-software-3.36.1-6.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:33:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of error (75.72 KB, image/png)
2020-01-15 22:12 UTC, Jacob Hunt
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gnome-software issues 1143 0 None None None 2021-02-16 12:56:43 UTC
Red Hat Product Errata RHSA-2021:4381 0 None None None 2021-11-09 19:34:02 UTC

Description Jacob Hunt 2020-01-15 22:12:13 UTC
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

Comment 2 Richard Hughes 2020-09-21 07:34:26 UTC
Sure, we could add this as a GSetting or even just split out the ODRS plugin as a subpackage.

Comment 10 Milan Crha 2021-02-16 12:56:43 UTC
(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

Comment 12 Martin Krajnak 2021-05-24 14:22:31 UTC
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

Comment 17 errata-xmlrpc 2021-11-09 19:33:50 UTC
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


Note You need to log in before you can comment on or make changes to this bug.