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 9 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 #1

Updated by Vincent Rubiolo over 1 year ago

  • Assignee changed from Vincent Rubiolo to José Bollo
Actions #2

Updated by Sebastien Douheret [IoT.bzh] over 1 year ago

  • OS Affects Version/s arz-1.0.0 added
Actions #3

Updated by Sebastien Douheret [IoT.bzh] over 1 year ago

  • OS Affects Version/s arz-1.0 added
  • OS Affects Version/s deleted (arz-1.0.0)
Actions #4

Updated by Sebastien Douheret [IoT.bzh] over 1 year ago

  • Target version set to arz-1.0.2
Actions #5

Updated by José Bollo about 1 year ago

  • 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

Actions #6

Updated by José Bollo 10 months ago

  • Status changed from Resolved to In Progress
Actions #7

Updated by José Bollo 10 months ago

reopened.

I'm working on a solution where

  1. the device ttymc2 is correctly detected and permission to rw it given to group "dialout"
  2. 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

Actions #8

Updated by José Bollo 9 months ago

  • Status changed from In Progress to Resolved
Actions #9

Updated by José Bollo 9 months ago

integration of sec-lsm-manager 1.0 fixed the issue

Actions

Also available in: Atom PDF