Bug 1044569 - gnome-abrt cannot be run without abrt-dbus
Summary: gnome-abrt cannot be run without abrt-dbus
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-abrt
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Filak
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-18 15:09 UTC by Lukáš Zachar
Modified: 2016-12-01 00:45 UTC (History)
2 users (show)

Fixed In Version: gnome-abrt-0.3.4-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:21:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lukáš Zachar 2013-12-18 15:09:48 UTC
Description of problem:

If I try to run gnome-abrt without abrt-dbus installed it fails with traceback and exists. 
However there is not dependency on abrt-dbus from gnome-abrt, so one can install currently broken configuration.

If it is expected to run gnome-abrt without abrt-dbus, it definitely shouldn't traceback but show some warning that there will be no connection to system abrt.
If there is no such expectation please set requires so gnome-abrt will work without explicit install of abrt-dbus.

Version-Release number of selected component (if applicable):
gnome-abrt-0.3.1-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. make sure there is no abrt-dbus installed
2. gnome-abrt


Actual results:
WARNING:root:Traceback (most recent call last):
  File "/usr/bin/gnome-abrt", line 212, in do_activate
    get_standard_problems_source(self._dbus_srv.mainloop))
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 38, in get_standard_problems_source
    return DBusProblemSource(StandardProblems, mainloop)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 82, in __init__
    self._connect_to_problems_bus()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 103, in _connect_to_problems_bus
    .format(BUS_NAME, BUS_PATH, ex))
UnavailableSource: Can't connect to DBus system bus 'org.freedesktop.problems' path '/org/freedesktop/problems': org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.problems was not provided by any .service files

ERROR:root:Can't connect to DBus system bus 'org.freedesktop.problems' path '/org/freedesktop/problems': org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.problems was not provided by any .service files
Traceback (most recent call last):
  File "/usr/bin/gnome-abrt", line 228, in do_activate
    (_("System"), get_foreign_problems_source())]
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 41, in get_foreign_problems_source
    return DBusProblemSource(ForeignProblems, mainloop)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 82, in __init__
    self._connect_to_problems_bus()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 103, in _connect_to_problems_bus
    .format(BUS_NAME, BUS_PATH, ex))
UnavailableSource: Can't connect to DBus system bus 'org.freedesktop.problems' path '/org/freedesktop/problems': org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.problems was not provided by any .service files

Expected results:
 no error - either by installed requires or being able to work without dbus connection 

Additional info:

Comment 1 Jakub Filak 2013-12-18 16:57:43 UTC
https://github.com/abrt/gnome-abrt/pull/47 is supposed to fix this bug.

Comment 2 Jakub Filak 2013-12-19 13:30:52 UTC
Upstream commit b371fad74c8b2c6699ac1253e77ae30c376997a1 fixes this bug.

Comment 5 Ludek Smid 2014-06-13 10:21:27 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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