connman+bluez5: Update rights for smack systems 27/18827/5
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 12 Dec 2018 13:27:48 +0000 (14:27 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 18 Dec 2018 09:54:16 +0000 (10:54 +0100)
commitd9d7eb20d17acde2f4e3826736ad45fa6d441837
tree8c461440b3728eb37d1930c6e1bebdab921ff4b5
parentc888e1c4dce2ee70521b7cf6e8ec8ec60a7aeea1
connman+bluez5: Update rights for smack systems

Reading the file /etc/resolv.conf that is linked to
/run/connman/resolv.conf is not possible for common users.

This changes add the setting of the directory /run/connman
that allows common applications to read that file.

To achieves this goal, that changes use the intended
tuning mechanism of systemd instead of using sed.
This is cleaner. Thus this as been adapted for bluez5 too.

Bug-AGL: SPEC-2006

Change-Id: I3d2a708be2a5c62664bfcf90757e9e5c080d6179
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
meta-security/recipes-connectivity/bluez5/bluez5_%.bbappend
meta-security/recipes-connectivity/bluez5/files/bluetooth.service.conf [new file with mode: 0644]
meta-security/recipes-connectivity/connman/connman_%.bbappend
meta-security/recipes-connectivity/connman/files/connman.service.conf [new file with mode: 0644]