[patch] Auto session bus launch from libdbus, take 2
hp at redhat.com
Mon Sep 18 15:31:56 PDT 2006
John (J5) Palmieri wrote:
> looks good to me
The additional work for 1.0 would be:
- run this in %post of rpms
- make dbus-launch use it instead of hostnames in thiago's patch
There is one feature this enables other than the autolaunch, which is
dbus_connection_on_local_machine (DBusConnection *connection);
But probably don't want to add that API for 1.0.
An issue I'm unsure how to resolve is that if we run this on "make
install" then it will overwrite an existing machine id, which is not
desirable. But if we don't do anything on "make install" tarball
installs will be wonky out of the box.
A possible answer is to have make install do a 'dbus-uuidgen
--ensure=installfile' instead of just creating the uuid in the build
tree and then installing it like any other file.
Anyway, the key question I think is whether the %post changes and change
to dbus-launch can/should be done.
More information about the dbus