Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The org.freedesktop.DBus.Introspectable interface is implemented but not declared in the introspection data #99

Closed
mvidner opened this issue Feb 23, 2022 · 0 comments
Labels
d-installer relevant for https://github.com/yast/d-installer

Comments

@mvidner
Copy link
Owner

mvidner commented Feb 23, 2022

As @jreidinger reports:

While ruby-dbus services do implement the Introspectable interface, that interface is not included in its own introspection output:

$ RUBYLIB=lib ruby examples/service/service_newapi.rb &
$ busctl --user --list introspect org.ruby.service /org/ruby/MyInstance | grep -v '^\.'
NAME                            TYPE      SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Properties interface -         -            -
org.ruby.AnotherInterface       interface -         -            -
org.ruby.SampleInterface        interface -         -            -    

Compare with another service (well, the bus itself)

$ busctl --user --list introspect org.freedesktop.DBus /org/freedesktop/DBus | grep -v '^\.'
NAME                                 TYPE      SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus                 interface -         -            -
org.freedesktop.DBus.Debug.Stats     interface -         -            -
org.freedesktop.DBus.Introspectable  interface -         -            -
org.freedesktop.DBus.Monitoring      interface -         -            -
org.freedesktop.DBus.Peer            interface -         -            -
org.freedesktop.DBus.Properties      interface -         -            -

AFAIK this is not a regression, the library has always missed it.

@mvidner mvidner added the d-installer relevant for https://github.com/yast/d-installer label Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d-installer relevant for https://github.com/yast/d-installer
Projects
None yet
Development

No branches or pull requests

1 participant