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 1503579 - [abrt] [faf] xdg-desktop-portal: unknown function(): /usr/libexec/xdg-desktop-portal killed by 11
Summary: [abrt] [faf] xdg-desktop-portal: unknown function(): /usr/libexec/xdg-desktop...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: flatpak
Version: 7.5
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: David King
QA Contact: Desktop QE
URL: http://faf.lab.eng.brq.redhat.com/faf...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-18 12:21 UTC by Vladimir Benes
Modified: 2018-06-08 12:42 UTC (History)
5 users (show)

Fixed In Version: flatpak-0.8.8-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 12:54:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch vbenes is testing (5.97 KB, patch)
2017-11-08 19:04 UTC, Ray Strode [halfline]
no flags Details | Diff
latest version of the patch (10.30 KB, application/mbox)
2017-11-09 20:19 UTC, Ray Strode [halfline]
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0767 0 None None None 2018-04-10 12:54:49 UTC

Description Vladimir Benes 2017-10-18 12:21:50 UTC
This bug has been created based on an anonymous crash report requested by the package maintainer.

Report URL: http://faf.lab.eng.brq.redhat.com/faf/reports/bthash/7e95fbed308a62a07fe5fec62bc845a4cabafa16/

Comment 2 Ray Strode [halfline] 2017-11-08 18:47:48 UTC
Looking at the corefile in the sosreport attached, we see the crash is here:

   │85        if (!xdp_impl_permission_store_call_lookup_sync (get_permission_store (),
   │86                                                         TABLE_NAME,
   │87                                                         "inhibit",
   │88                                                         &out_perms,
   │89                                                         &out_data,
   │90                                                         NULL,
   │91                                                         &error))
   │92          {
  >│93            g_warning ("Error getting permissions: %s", error->message);
   │94            g_clear_error (&error);
   │95          }

This means xdp_impl_permission_store_call_lookup_sync is failing without setting an error.
In other words, it's getting passed an invalid input.  Indeed, get_permission_store()
is returning NULL:

(gdb) p permission_store
$1 = (XdpImplPermissionStore *) 0x0

This will return NULL if it can't get a proxy to the org.freedesktop.impl.portal.PermissionStore service.
That service file is so:

[D-BUS Service]
Name=org.freedesktop.impl.portal.PermissionStore
Exec=@libexecdir@/xdg-permission-store
SystemdService=xdg-permission-store.service

So it will try to activate the systemd service associated with the dbus name.  but we don't have a user bus and we don't have systemd --user → fail.

I think we should just patch out SystemdService= from the service file.   and maybe fix dbus to ignore SystemdService for non-system-services

Comment 3 Ray Strode [halfline] 2017-11-08 19:04:24 UTC
Created attachment 1349548 [details]
patch vbenes is testing

just threw this scratch build:

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14502327

to vbenes.  it has the above patch

Comment 4 Ray Strode [halfline] 2017-11-09 20:19:32 UTC
Created attachment 1350096 [details]
latest version of the patch

this is the latest version of the patch, but now i'm wondering if the parts that remove the -SystemdService= are needed, or if it's really just the missing rpaths from the later hunks in the patch.

Comment 13 errata-xmlrpc 2018-04-10 12:54:31 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, 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-2018:0767


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