Dne 9.7.2010 13:30, Denys Vlasenko napsal(a):
On Thu, 2010-07-08 at 18:27 +0200, Karel Klic wrote:
>
> Should abrt-server start abrt-dbus? That way the DBus independence would
> be lost.
It's more like "abrt-server or abrt-handle-crashdump should execute
actiona as configured. If we want dbus signal, then we can configure it
to be emitted:
# event type cmd [params]
post-create * abrt-action-dbus-signal
# and if we want to know about uploaded (i.e., remote) crashes:
post-upload * abrt-action-dbus-signal
IIRC dbus package has a command line tool, dbus-send, which can emit
dbus signals, maybe we can use it directly instead of
abrt-action-dbus-signal, or abrt-action-dbus-signal can be a shell
script which uses that tool. Of course it can also be a small C program.
Good answer, this should work.
Thank you.