Bug 2055366

Summary: Backport D-Bus call restrictions from GNOME Shell 41
Product: Red Hat Enterprise Linux 9 Reporter: Neal Gompa <ngompa13>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Michal Odehnal <modehnal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: aday, bodavis, carl, davdunc, davide, jadahl, michel, mroche, rstrode, tpelka
Target Milestone: rcKeywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-shell-40.9-4.el9, mutter-40.9-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 09:59:16 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neal Gompa 2022-02-16 19:10:14 UTC
Description of problem:
GNOME 41+ blocks external applications from accessing private GNOME D-Bus APIs that applications have previously (ab)used. These APIs are not yet blocked in GNOME Shell in RHEL 9 and should be, otherwise it is entirely possible that downstream patches will be required in future GNOME Shell upgrades to allow access to them when upstream forbids them.

Version-Release number of selected component (if applicable):
40.8-3.el9

Additional info:
Here's the upstream MR for restricting them: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1970

Comment 1 Florian Müllner 2022-02-22 11:01:51 UTC
(In reply to Neal Gompa from comment #0)
> These APIs are not yet
> blocked in GNOME Shell in RHEL 9 and should be, otherwise it is entirely
> possible that downstream patches will be required in future GNOME Shell
> upgrades to allow access to them when upstream forbids them.

I don't see how that is the case. We won't rebase the desktop in RHEL 9, and we don't make any API promises for gnome-shell across major RHEL versions.

Comment 2 Neal Gompa 2022-02-22 11:18:17 UTC
(In reply to Florian Müllner from comment #1)
> (In reply to Neal Gompa from comment #0)
> > These APIs are not yet
> > blocked in GNOME Shell in RHEL 9 and should be, otherwise it is entirely
> > possible that downstream patches will be required in future GNOME Shell
> > upgrades to allow access to them when upstream forbids them.
> 
> I don't see how that is the case. We won't rebase the desktop in RHEL 9, and
> we don't make any API promises for gnome-shell across major RHEL versions.

Even if you don't rebase the desktop, these APIs should be blocked so users don't use them.

Comment 3 Florian Müllner 2022-02-22 14:21:53 UTC
> these APIs should be blocked so users don't use them

because?

I don't think we can backport the restriction to RHEL 7 and 8, because while nothing outside core GNOME components is meant to use those APIs, we would risk breaking callers that do anyway.

And if it's allowed in RHEL 8, I don't see why the restriction cannot wait until RHEL 10.

Comment 4 Neal Gompa 2022-02-22 14:40:28 UTC
(In reply to Florian Müllner from comment #3)
> > these APIs should be blocked so users don't use them
> 
> because?
> 
> I don't think we can backport the restriction to RHEL 7 and 8, because while
> nothing outside core GNOME components is meant to use those APIs, we would
> risk breaking callers that do anyway.
> 
> And if it's allowed in RHEL 8, I don't see why the restriction cannot wait
> until RHEL 10.

I'm not asking to backport the restriction to RHEL 7 and 8, just RHEL 9.

I know of applications that I don't want to comment on publicly that will not be motivated to migrate to the xdg portal APIs if the GNOME ones are not blocked. They're already blocked in Fedora, but blocking them in RHEL will ensure that they care enough to fix things properly.

I had mentioned this in the RHEL Workstation High Touch Beta with greater detail, but as I don't have private comment powers, I will not detail them here. Bob and Allan know and they can write it as a private comment in this BZ.

Comment 5 Neal Gompa 2022-02-22 14:42:47 UTC
> RHEL Workstation High Touch Beta

Of course, I mean the RHEL Workstation HTB Town Hall...

Comment 10 errata-xmlrpc 2022-11-15 09:59:16 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 (gnome-shell 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/RHBA-2022:7982