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 2057584 - not handling error no-security for action get-updates: Creating repo: mkdirat: Permission denied
Summary: not handling error no-security for action get-updates: Creating repo: mkdirat...
Keywords:
Status: CLOSED DUPLICATE of bug 1981776
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gnome-software
Version: 9.0
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Milan Crha
QA Contact: Martin Krajnak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-23 16:36 UTC by Timothée Ravier
Modified: 2022-03-01 14:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-01 14:54:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-113318 0 None None None 2022-02-23 16:54:11 UTC

Description Timothée Ravier 2022-02-23 16:36:09 UTC
Description of problem:

Fresh installations of C9S or RHEL9 gives me this error in the GNOME Software interface and in the logs:

```
$ sudo journalctl | grep gnome-software
févr. 23 16:20:56 localhost.localdomain gnome-software[5623]: enabled plugins: appstream, fwupd, os-release, packagekit-refresh, flatpak, hardcoded-blocklist, hardcoded-popular, modalias, packagekit, rewrite-resource, provenance, repos, systemd-updates, generic-updates, packagekit-refine-repos, provenance-license, icons
févr. 23 16:20:56 localhost.localdomain gnome-software[5623]: disabled plugins: dummy, fedora-langpacks, fedora-pkgdb-collections
févr. 23 16:20:56 localhost.localdomain gnome-software[5623]: failed to set proxy: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3: setting the proxy failed: failed to get the uid
févr. 23 16:20:56 localhost.localdomain gnome-software[5623]: failed to set proxies: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3: setting the proxy failed: failed to get the uid
févr. 23 16:20:59 localhost.localdomain gnome-software[5623]: Only 0 apps for recent list, hiding
févr. 23 16:20:59 localhost.localdomain gnome-software[5623]: failed to get featured apps: no apps to show
févr. 23 16:20:59 localhost.localdomain gnome-software[5623]: Only 0 apps for popular list, hiding
févr. 23 16:21:03 localhost.localdomain gnome-software[5623]: Only 0 apps for recent list, hiding
févr. 23 16:21:03 localhost.localdomain gnome-software[5623]: failed to get featured apps: no apps to show
févr. 23 16:21:03 localhost.localdomain gnome-software[5623]: Only 0 apps for popular list, hiding
févr. 23 16:21:50 localhost.localdomain gnome-software[5623]: Only 0 apps for recent list, hiding
févr. 23 16:21:50 localhost.localdomain gnome-software[5623]: failed to get featured apps: no apps to show
févr. 23 16:21:57 localhost.localdomain gnome-software[5623]: Only 1 apps for popular list, hiding
févr. 23 16:21:58 localhost.localdomain gnome-software[5623]: not handling error no-security for action get-updates: Creating repo: mkdirat: Permission non accordée
févr. 23 16:22:03 localhost.localdomain gnome-software[5623]: Only 0 apps for recent list, hiding
févr. 23 16:22:03 localhost.localdomain gnome-software[5623]: Only 1 apps for popular list, hiding
févr. 23 16:22:03 localhost.localdomain gnome-software[5623]: failed to get featured apps: no apps to show
févr. 23 16:25:07 localhost.localdomain gnome-software[5623]: Only 0 apps for recent list, hiding
févr. 23 16:25:07 localhost.localdomain gnome-software[5623]: failed to get featured apps: no apps to show
févr. 23 16:25:07 localhost.localdomain gnome-software[5623]: Only 1 apps for popular list, hiding

```

Similar to https://bugzilla.redhat.com/show_bug.cgi?id=2035781 but I don't think it's the same bug.


Version-Release number of selected component (if applicable):

RHEL-9.1.0-20220222.1-x86_64-dvd1
C9S ISO as of Feb 17th.

How reproducible:

Always, right after installation, first time I open GNOME Software.

Steps to Reproduce:
1. Install system
2. Open GNOME Software

Actual results:

Error message


Expected results:

No error message

Additional info:

Comment 1 Milan Crha 2022-02-24 08:04:15 UTC
Thanks for a bug report.

(In reply to Timothée Ravier from comment #0)
> Similar to https://bugzilla.redhat.com/show_bug.cgi?id=2035781 but I don't
> think it's the same bug.

I agree, it was due to vncserver usage there.

> Version-Release number of selected component (if applicable):
> 
> RHEL-9.1.0-20220222.1-x86_64-dvd1
> C9S ISO as of Feb 17th.

These things get lost very easily, better to follow the template text (Version-Release number of selected component), aka to give the gnome-software package version (rpm -q gnome-software).

A similar bug from Fedora 29:
https://bugzilla.redhat.com/show_bug.cgi?id=1692043
which doesn't have any resolution.

Maybe this could be covered by:
https://bugzilla.redhat.com/show_bug.cgi?id=1981776
as I believe once the "mkdirat" error disappears the GNOME Software will be error free as well. Could you try to:

   $ sudo flatpak repair
   $ gnome-software --quit
   $ gnome-software

please? The flatpak command should fix the problem (as that bug description says), while the other two commands restart gnome-software.

Comment 2 Timothée Ravier 2022-03-01 14:54:14 UTC
This fixed it. Closing as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1981776.

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


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