[systemd-devel] [PATCH 0/4] [RFC v1] gdbus: Preliminary kdbus-support patches
Lennart Poettering
mztabzr at 0pointer.de
Thu Nov 21 05:15:45 PST 2013
On Thu, 21.11.13 12:33, Karol Lewandowski (k.lewandowsk at samsung.com) wrote:
Haven't looked at the actual patch, just two comments for now.
> - This patchset adds ability for glib programs to connect
> to kdbus busses via
>
> DBUS_SESSION_BUS_ADDRESS=(kernel|kdbus):/dev/kdbus/0-kdbus/bus
Note that libsystemd-bus only acceptes "kernel:" here for this, and I am pretty
sure we shouldn't allow the ambiguity here. Stick to one.
>
> - Library modifications are not all, it's required to have
> service handling org.freedesktop.DBus requests in userspace.
>
> Currently we use modified[3] dbus-daemon to for that
> purpose.
Daniel has been working on adding this service to systemd.
Before we consider this for merging into gio, we need to figure out what
to speak "on the wire". i.e. Ryan wants us to marshal exclusively to
GVariant on kdbus, and I am on the same page with him on that, but I'd
first need to beef up the marshaller in libsystemd-bus to speak both
traditional dbus1 and gvariant marshalling.
If you want libdbus-1 to also talk kdbus then libdbus-1 would also need code
for gvariant natively. That said, systemd will provide a compat bridge
that speaks the old protocol and remarshalls in both directions.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list