Project

General

Profile

Actions

Bug #29

closed

Permission to open /dev/ttymxc2 is denied to bms2orp-binding

Added by Emmanuel Jubera [SAFT] over 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
Start date:
09/06/2022
Due date:
% Done:

0%

Estimated time:
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
arz-1.0
OS Fix Version/s:
Labels:

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}="*"

Actions

Also available in: Atom PDF