<div dir="ltr"><div dir="ltr">Got the configuration done on ONL for "system" instead of "session".<div>I was missing configuration file for "unique name" defined for a service. I have created file in /etc/dbus-1/system.d/.</div><div><br></div><div>Thanks and Regards</div><div>Shiva</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 18, 2019 at 5:56 PM Felipe Gasper <<a href="mailto:felipe@felipegasper.com">felipe@felipegasper.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> On Feb 18, 2019, at 1:14 AM, Lawrence D'Oliveiro <<a href="mailto:ldo@geek-central.gen.nz" target="_blank">ldo@geek-central.gen.nz</a>> wrote:<br>
> <br>
>> On Mon, 18 Feb 2019 00:52:07 -0500, Felipe Gasper wrote:<br>
>> <br>
>> It appears to be theoretically possible, but the reference<br>
>> implementation’s daemon seems always to rewrite the DESTINATION<br>
>> header to be the destination’s unique bus name, which in effect rules<br>
>> out multiple services per connection.<br>
> <br>
> If you want to differentiate services, do it based on the interface<br>
> name, not the bus name. Remember that a client can easily address a<br>
> request to your unique name instead of your well-known name anyway. You<br>
> don’t want to behave differently based on this, do you?<br>
<br>
The two services could employ interfaces A & B versus A & C, though. Then you can’t distinguish between the services for messages sent to interface A, even though they’re different services.<br>
<br>
My thinking was that a setup where two services share the same unique name would reject messages sent directly to the unique name. Of course, that would screw up messaging with the daemon itself.<br>
<br>
This is more a theoretical inquiry than anything, though it would seem to make for a nice abstraction were this possible.<br>
<br>
-F<br>
_______________________________________________<br>
dbus mailing list<br>
<a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/dbus" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/dbus</a></blockquote></div>