Bug? org.freedesktop.DBus no longer has unique name :1.0

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Oct 12 03:43:19 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 11 Oct 2007 at 17:28:29 -0400, John (J5) Palmieri wrote:
> I don't remember this change going in but GetNameOwner on
> 'org.freedesktop.DBus' returns 'org.freedesktop.DBus'.  This special
> case breaks the assumption that unique names start with a colon so
> client code needs to handle this instead of handling generic unique
> names. Even some of our internal API such as GetConnectionUnixProcessID
> does not support the org.freedesktop.DBus special case.

dbus-python's dbus.bus module considers org.freedesktop.DBus to be a
unique name, for this reason. Also, it's not as if its ownership can
change, so we might as well always consider it to be a unique name...

	Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net

iD8DBQFHD0/HWSc8zVUw7HYRArl2AJwNPfU0StJVH5R6VoZb3ddZuQPboACgomrv
Vn4NnsgWQOTXVQ/RXd4ug3k=
=ka+3
-----END PGP SIGNATURE-----


More information about the dbus mailing list