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

John (J5) Palmieri johnp at redhat.com
Fri Oct 12 09:14:49 PDT 2007

On Fri, 2007-10-12 at 10:25 -0400, Havoc Pennington wrote:
> Hi,
> 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.
> > 
> It has always been this way, afaik. It does require a special case and 
> is thus kind of annoying. It would probably be bad to change, though; 
> better to keep the behavior stable.

So fixing GetConnectionUnixProcessID (and checking other methods that
take a connection name) would be the correct thing to do.  We should
also mention this in the spec I am guessing.

John (J5) Palmieri <johnp at redhat.com>

More information about the dbus mailing list