Bug 1245527

Summary: Can't get problem list from abrt-dbus
Product: Red Hat Enterprise Linux 7 Reporter: Bruno Goncalves <bgoncalv>
Component: abrtAssignee: Richard Marko <rmarko>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: isenfeld, jberan, jfilak, mhoyer, mkyral, rmarko
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: abrt-2.1.11-28.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 14:33:48 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 Bruno Goncalves 2015-07-22 08:50:58 UTC
Description of problem:
"abrt-cli list" command fails with the following message:
Can't get problem list from abrt-dbus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.problems was not provided by any .service files

Version-Release number of selected component (if applicable):
abrt-2.1.11-26.el7.x86_64
abrt-cli-2.1.11-26.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. confirm abrtd is running
# systemctl status abrtd
● abrtd.service - ABRT Automated Bug Reporting Tool
   Loaded: loaded (/usr/lib/systemd/system/abrtd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2015-07-22 04:49:24 EDT; 16s ago
 Main PID: 21717 (abrtd)
   CGroup: /system.slice/abrtd.service
           └─21717 /usr/sbin/abrtd -d -s

Jul 22 04:49:24 intel-mahobay-02.lab.eng.rdu.redhat.com systemd[1]: Started ABRT Automated Bug Reporting Tool.
Jul 22 04:49:24 intel-mahobay-02.lab.eng.rdu.redhat.com systemd[1]: Starting ABRT Automated Bug Reporting Tool...
Jul 22 04:49:24 intel-mahobay-02.lab.eng.rdu.redhat.com abrtd[21717]: Init complete, entering main loop

2.Try to list problems on the server
# abrt-cli list
Can't get problem list from abrt-dbus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.problems was not provided by any .service files

Comment 3 Jakub Filak 2015-07-28 14:02:09 UTC
It looks like that abrt-dbus is not installed. Can you please install abrt-dbus, re-test and report the results here?

Comment 4 Bruno Goncalves 2015-07-28 14:20:35 UTC
Thank you for the information, installing abrt-dbus solves the problem.

Should abrt-cli install abrt-dbus as dependency?

Comment 5 Jakub Filak 2015-07-29 09:06:53 UTC
(In reply to Bruno Goncalves from comment #4)
> Should abrt-cli install abrt-dbus as dependency?

Yes, it have to. The dependency will be added in the next abrt build. Thanks!


diff --git a/abrt.spec b/abrt.spec
index 0ea4efc..3b4b611 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -410,6 +410,7 @@ Group: User Interface/Desktops
 Requires: %{name} = %{version}-%{release}
 Requires: libreport-cli >= %{libreport_ver}
 Requires: abrt-libs = %{version}-%{release}
+Requires: %{name}-dbus = %{version}-%{release}
 
 %description tui
 This package contains a simple command line client for processing abrt reports
@@ -494,6 +495,7 @@ Summary: ABRT Python API                                                                                                                              
 Group: System Environment/Libraries                                                                                                                                      
 Requires: %{name} = %{version}-%{release}                                                                                                                                
 Requires: %{name}-libs = %{version}-%{release}                                                                                                                           
+Requires: %{name}-dbus = %{version}-%{release}                                                                                                                           
 Requires: pygobject2                                                                                                                                                     
 Requires: dbus-python                                                                                                                                                    
 Requires: libreport-python

Comment 11 errata-xmlrpc 2015-11-19 14:33:48 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://rhn.redhat.com/errata/RHBA-2015-2097.html