<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 30 September 2015 at 18:33, Jussi Kukkonen <span dir="ltr"><<a href="mailto:jussi.kukkonen@intel.com" target="_blank">jussi.kukkonen@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> bluez5: Use upstream D-Bus policy<br>
dbus: Use the xuser policy file<br>
xuser-account: Take over xuser specific D-Bus policy<br></blockquote><div><br></div><div>Please don't take the last two patches yet: I believe dbus itself does not actually have to be modified and the xuser policy file can just be a normal file in /etc/dbus-1/system.d/. I originally thought the default context policies in the services files could override the xuser user policy but this seems to not be the case: user policy always overrides default context policy.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
meta/recipes-connectivity/bluez5/bluez5.inc | 5 +--<br>
.../bluez5/bluez5/bluetooth.conf | 17 ---------<br>
meta/recipes-connectivity/connman/connman.inc | 1 -<br>
.../connman/add_xuser_dbus_permission.patch | 43 ----------------------<br>
meta/recipes-connectivity/connman/<a href="http://connman_1.30.bb" rel="noreferrer" target="_blank">connman_1.30.bb</a> | 1 -<br>
meta/recipes-core/dbus/dbus.inc | 1 +<br>
...-Apply-xuser-specific-policies-if-present.patch | 33 +++++++++++++++++<br>
.../user-creation/files/system-xuser.conf | 15 ++++++++<br>
.../user-creation/<a href="http://xuser-account_0.1.bb" rel="noreferrer" target="_blank">xuser-account_0.1.bb</a> | 6 ++-<br>
9 files changed, 55 insertions(+), 67 deletions(-)<br>
delete mode 100644 meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf<br>
delete mode 100644 meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch<br>
create mode 100644 meta/recipes-core/dbus/dbus/0001-Apply-xuser-specific-policies-if-present.patch<br>
create mode 100644 meta/recipes-support/user-creation/files/system-xuser.conf<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.1.4<br>
<br>
</font></span></blockquote></div><br></div></div>