Hi

On Tue, Jun 16, 2015 at 11:32 PM, Lennart Poettering
<lenn...@poettering.net> wrote:
> On Tue, 16.06.15 22:54, Krzesimir Nowak (krzesi...@endocode.com) wrote:
>> That reminds me of a bug (or not-a-bug) in go-dbus [1] - it also generates
>> flat hierarchy. This is a problem for tools like d-feet - they fail to
>> introspect services with flat hierarchy. Of course, it might be a bug in
>> d-feet itself.
>>
>> [1] https://github.com/godbus/dbus/issues/14
>
> Unless I misunderstand this sd-bus and go-dbus actually work very
> differently here: sd-bus actually synthesizes an object and suppresses
> it in the introspection. go-dbus doesn't even synthesize it. That
> means that if d-feet asks the intermediary objects on an sd-bus server
> all is good even if the service will never announce it voluntarily...
>
> I also just verified that d-feet works fine with sd-bus services.

Maybe someone can fix d-feet to do what `busctl tree` does? That is,
if introspection for '/' returns a node at '/foo/bar' then better
continue at '/foo/bar' instead of '/foo'. Not sure why d-feet chops
those paths off?

Thanks
David
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to