libhal apps exit on message bus restart
Tim Müller
t.i.m at zen.co.uk
Fri Dec 3 08:08:42 PST 2004
On Monday 29 November 2004 12:32, Martin Pitt wrote:
> > I noticed that my libhal-using apps just exit silently when the system
> > message bus (and with it hald) is restarted.
> > [...]
> > What's the recommended way to work around this in applications?
>
> Ubuntu had this problem particularly with gnome-volume-manager. We
> submitted the patch to the Gnome BTS
>
> http://bugzilla.gnome.org/show_bug.cgi?id=153673
>
> The patch is g-v-m specific, but you might get the general idea also
> for other applications.
Thanks, I gave that a shot, and it seems to work if I don't call
hal_shutdown() on the old libhal context (dbus 0.22-3, hal 0.4.2-1).
It would be great if someone could add a warning comment about this behaviour
to the libhal/hal_initialize() API docs. I'd be surprised if I was the only
app programmer not expecting libhal to behave like this.
Cheers
-Tim
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list