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.

Bug 2003810

Summary: Creating repo: mkdirat: Permission denied
Product: Red Hat Enterprise Linux 9 Reporter: Michael Catanzaro <mcatanza>
Component: flatpakAssignee: Debarshi Ray <debarshir>
Status: CLOSED DUPLICATE QA Contact: Martin Krajnak <mkrajnak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.0CC: debarshir, klember, rhughes, tpelka
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-21 23:14:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of error none

Description Michael Catanzaro 2021-09-13 19:18:30 UTC
Created attachment 1822847 [details]
Screenshot of error

Description of problem: When opening GNOME Software for the first time on a freshly-installed RHEL 9 system, it displays the error: Sorry, something went wrong: Creating repo: mkdirat: Permission denied


Version-Release number of selected component (if applicable): gnome-software-41~beta.el9


How reproducible: Always


Steps to Reproduce:
1. Install RHEL 
2. Install RHEL 9
3. After rebooting to installed system, open GNOME Software
4. Visit the Updates tab

Actual results: Sorry, something went wrong: Creating repo: mkdirat: Permission denied


Expected results: No error


Additional info: I don't expect updating anything to actually work, because dnf does not work either. I see in the gnome-software --verbose log:

19:13:00:0572 Gs  not handling error download-failed for action refresh: cannot update repo 'rhel-9-for-x86_64-baseos-beta-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 403 for https://cdn.redhat.com/content/beta/rhel9/9/x86_64/baseos/os/repodata/repomd.xml (IP: 173.222.100.251)

which matches the error from dnf. As far as I can tell, we are IP banned from accessing the prerelease repo. So making software updates actually work is outside the scope of this bug.

Comment 2 Milan Crha 2021-09-13 20:42:55 UTC
Thanks for a bug report. This is a flatpak problem [1], thus I move this there.

[1] https://github.com/flatpak/flatpak/issues/4111

Comment 3 Martin Krajnak 2021-09-21 10:38:27 UTC
+1 for this, I was hoping this will be solved upstream but looks like it is catching dust. Rishi do you think we could solved this for RHEL ?

Comment 4 Martin Krajnak 2021-09-21 10:39:44 UTC
+ this also affects flatpak command, see my reproducer here: https://github.com/flatpak/flatpak/issues/4111#issuecomment-878226675

Comment 5 Debarshi Ray 2021-09-21 23:14:00 UTC

*** This bug has been marked as a duplicate of bug 1981776 ***

Comment 6 Debarshi Ray 2022-03-22 22:52:15 UTC
Clearing stale NEEDINFO.