http://bugzilla.novell.com/show_bug.cgi?id=502719
User lslezak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=502719#c5
--- Comment #5 from Ladislav Slezak 2009-05-12 06:05:42 MDT ---
To comment #3:
2009-05-11 17:22:03 <3> d169(2273) [y2dbus] DBusConn.cc(connect):60 Cannot
register service org.opensuse.yast.SCR: Rejected send message, 1 matched rules;
type="method_call", sender=":1.39" (uid=0 pid=2271 comm="ruby ./check-setup.rb
") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error
name="(unset)" requested_reply=0 destination="org.opensuse.yast.SCR" (uid=0
pid=2273 comm="/usr/lib/YaST2/bin/SCR_dbus_server "))
is reported by y2error("Cannot register service %s: %s", service.c_str(),
dbus_error.message). So the Dbus error itself should be improved to contain
more details. Yast could just log a suggestion what to do (Dbus reload) to
y2log.
I guess it's not possible to pass any error code back when the connection
fails, the reply cannot be sent without a DBus connection.
To comment #4:
Yes, DBus reloading helps. I also found the problem during development, but I
do not know why it fails only _sometimes_ and why.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.