Hello,
I'm using connman version 1.37 in YOCTO version 2.5.3(pyro). I get the
following error message when user other than root try to access
connman interface
Device fault detected : org.freedesktop.DBus.Error.AccessDenied:
Rejected send message, 2 matched rules; type="method_call",
sender=":1.7" (uid=1001 pid=636 comm="python /opt/yocto
/bin/appserver/server.pyc ") interface="net.connman.Manager"
member="GetTechnologies" error name="(unset)"
requested_reply="0"
destination=":1.0" (uid=0 pid=396 comm="/usr/sbin/connmand ")
In order to make it work, I have to modify the rules(see below)
connman.conf in /usr/shar/dbus-1/system.d/connman.conf,
</policy>
<policy context="default">
<allow send_destination="net.connman"/>
</policy>
</busconfig>
Is this the correct way to handle this? How do I integrate this change
during the build time?
Thanks,
Chaitanya