hello<br>I'm using RH5.1 and whatever version of dbus shipped with that.<br>I am trying to set things up so that when a client calls methods on my service, it will auto-launch a mini-server process that implements the service interface.<br>
I have put a file 'com.foo.myservice.service' in /usr/share/dbus-1/services <br>That file contains this:<br>Name=com.foo.myservice<br>Exec=mysvc <br>User=root<br><br>and mysvc is in the PATH, owned by root.<br><br>
I also added a mysvc.conf file to the /etc/dbus-1/system.d which contains:<br><!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"<br> "<a href="http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd</a>"><br>
<busconfig><br> <policy user="root"><br> <allow own="*"/><br> </policy><br></busconfig><br><br>but when I call the service from the client I get an error saying that :<br>
<br>0x5555689b8b60 "The name com.foo.myservice was not provided by any .service files"<br><br>Can anyone tell me what I'm doing wrong?<br><br><br>TIA<br>