should request_name org.freedesktop.DBus fail?
robert.mcqueen at collabora.co.uk
Mon Nov 7 03:51:09 PST 2005
I've just been refactoring some of the bus name request code in the
Python bindings, and wrote a test case to check that errors were being
correctly caught (a first for bus names in the Python bindings...
hnnrgh). I wanted something that would always be taken, so I tried
requesting org.freedesktop.DBus, but it retured
DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER. Given that you can /always/ send
messages to the bus on org.freedesktop.DBus, surely you should never be
able to think you've registered this name?
More information about the dbus