Integration / D Bus Interview Questions
What is a well-known bus name?
A well-known bus name is a stable, human-readable name a service registers on the bus so other processes can find it without needing to know its underlying connection details, written in reverse-domain style like org.freedesktop.NetworkManager.
A service claims a well-known name by calling RequestName on the bus daemon. Once granted, other processes can address method calls to that name directly, and the bus daemon resolves it to the correct underlying connection. If the owning process disconnects or releases the name, the bus emits a NameOwnerChanged signal, and if other processes had queued for that name, ownership can pass to the next one in line.
This is what makes D-Bus service discovery stable even though the actual owning process might be restarted, replaced, or reconnected over time.
More Related questions...