summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-27 16:26:01 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-27 16:26:01 +0100
commite742f63e9c56cc2c913fa8cfda7a9d583a2c2aa2 (patch)
treea08cc57de6544f3521ae7758f3746c6c515dc53f /src/Gui
parent8448f22c260be4f6e7732a193f330fd6cd94d9b6 (diff)
downloadabrt-e742f63e9c56cc2c913fa8cfda7a9d583a2c2aa2.tar.gz
abrt-e742f63e9c56cc2c913fa8cfda7a9d583a2c2aa2.tar.xz
abrt-e742f63e9c56cc2c913fa8cfda7a9d583a2c2aa2.zip
abrtd: proper fix to autostart problem
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/CCDBusBackend.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Gui/CCDBusBackend.py b/src/Gui/CCDBusBackend.py
index b99e6f8e..1ab0e3a8 100644
--- a/src/Gui/CCDBusBackend.py
+++ b/src/Gui/CCDBusBackend.py
@@ -99,11 +99,9 @@ class DBusManager(gobject.GObject):
# Autostart hack
# Theoretically, this is not needed, the first dbus call
# should autostart daemon if needed. In practice,
- # without this code autostart is not reliable. Apparently
- # dbus fails to check that the first call after autostart
- # does not fail because daemon did not finish its initialization yet.
- # (strace says abrt-gui -> dbus_daemon transfer is ok,
- # I suspect dbus_daemon -> freshly_started_abrtd isn't)
+ # without this code autostart is not reliable.
+ # Update: fixed the problem on daemon side,
+ # but retaining this code for now. More stability won't hurt us...
try:
(always_true, rc) = self.bus.start_service_by_name(ABRTD_DBUS_NAME, flags=0)
# rc is either self.bus.START_REPLY_SUCCESS or self.bus.START_REPLY_ALREADY_RUNNING