Bug #29
closed
Permission to open /dev/ttymxc2 is denied to bms2orp-binding
Added by Emmanuel Jubera [SAFT] about 2 years ago.
Updated over 1 year ago.
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
arz-1.0
Description
Although urn:AGL:permission::partner:scope-platform
and urn:AGL:permission::system:capability:keep-all
are set for bms2orp-binding, the latter is denied the right to open /dev/ttymxc2.
A workaround was found, consisting in editing /etc/udev/rules.d/55-udev-smack-default.rules
and changing line
SUBSYSTEM=="tty", KERNEL=="tty", GROUP="tty", MODE="0666", SECLABEL{smack}="*"
into line
SUBSYSTEM=="tty", KERNEL=="tty*", GROUP="tty", MODE="0666", SECLABEL{smack}="*"
- Assignee changed from Vincent Rubiolo to José Bollo
- OS Affects Version/s arz-1.0.0 added
- OS Affects Version/s arz-1.0 added
- OS Affects Version/s deleted (
arz-1.0.0)
- Target version set to arz-1.0.2
- Status changed from New to Resolved
Modifications for solving this issue are pushed internally and will land in arz-1.0.2 and arz-1.1.1
Waiting final verification for closing
- Status changed from Resolved to In Progress
reopened.
I'm working on a solution where
- the device ttymc2 is correctly detected and permission to rw it given to group "dialout"
- the supplementary group dialout is given to application requiring the permission "urn:AGL:permission::partner:dialout"
So the config.xml of orp-binding has to be modified to request that permission
- Status changed from In Progress to Resolved
integration of sec-lsm-manager 1.0 fixed the issue
Also available in: Atom
PDF