Bug 1651927

Summary: abrt-cli and gnome-abrt cannot list list problems
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: abrtAssignee: abrt <abrt-devel-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: abrt-devel-list, jakub, jmilan, mfabian, mhabrnal, michal.toman, mkutlak, mmarusak, petersen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-21 09:16:36 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:

Description Mike FABIAN 2018-11-21 08:38:08 UTC
After creating some coredumps with gedit and  nautilus (see https://bugzilla.redhat.com/show_bug.cgi?id=1651749 ) I wanted to use
gnome-abrt to report it and found that gnome-abrt could not list the problems.
Then I tried "abrt-cli list" and found that it could not list the coredumps
either, showing the same error message.

"coredumpctl list" does list the coredumps:

    [mfabian@Fedora-Workstation-netinst-x86_6 ~]$ coredumpctl list
    TIME                            PID   UID   GID SIG COREFILE  EXE
    Tue 2018-11-20 17:31:42 CET   10696  1000  1000  11 present   /usr/bin/gedit
    Tue 2018-11-20 17:41:48 CET   11262  1000  1000  11 present   /usr/bin/nautilus
    [mfabian@Fedora-Workstation-netinst-x86_6 ~]$ 

but "abrt-cli list" does not:

    [mfabian@Fedora-Workstation-netinst-x86_6 ~]$ abrt-cli list
    Can't connect to system DBus: Error calling StartServiceByName for org.freedesktop.problems: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.problems: Permission denied
    [mfabian@Fedora-Workstation-netinst-x86_6 ~]$

And gnome-abrt does not list them either and shows the same error message
on stdout as "abrt-cli list" does:

    [mfabian@Fedora-Workstation-netinst-x86_6 ~]$ gnome-abrt 
    /usr/bin/gnome-abrt:331: DeprecationWarning: Gtk.Application.add_accelerator is deprecated
      self.add_accelerator("<Control>q", "app.quit")
    WARNING:root:Can't connect to DBus system bus 'org.freedesktop.problems' path '/org/freedesktop/problems': org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.problems: Permission denied
    WARNING:root:Can't connect to DBus system bus 'org.freedesktop.problems' path '/org/freedesktop/problems': org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.problems: Permission denied
    [mfabian@Fedora-Workstation-netinst-x86_6 ~]$ Description of problem:

Comment 1 Mike FABIAN 2018-11-21 08:44:31 UTC
By the way, I did that in a qemu vm, using Fedora-Workstation-netinst-x86_64-29-1.2.iso, freshly installed yesterday and the updated with 
"dnf update".

On my real hardware, which is also f29 with all current updates, 
abrt-cli and gnome-abrt *do* list these coredumps. I have  no  idea what 
the difference could be.

Comment 2 Martin Kutlak 2018-11-21 09:16:36 UTC
Thank you for your report, this problem is caused by the dbus.

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