should request_name org.freedesktop.DBus fail?

John (J5) Palmieri johnp at redhat.com
Mon Nov 7 10:15:47 PST 2005


This looks like a bug since "org.freedesktop.DBus" is a special name
which does not go through the normal code paths.  Can you file this in
bugzilla?  I think once we get the next release out we will want to
start cleaning these up.  Right now I want to concentrate on getting the
API changes in.

On Mon, 2005-11-07 at 11:51 +0000, Robert McQueen wrote:
> 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?
> 
> Regards,
> Rob
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
-- 



More information about the dbus mailing list