32 Star 75 Fork 58

openEuler / sysmaster

 / 详情

虚拟机场景,配置OPTIONS+="static_node=<devnode>修改设备节点权限,重新启动devmaster服务后,无法修改权限

已完成
缺陷
创建于  
2023-12-12 16:21

【环境信息】
软件信息
[root@openEuler ~]# rpm -q devmaster
devmaster-0.5.1-5.oe2203sp3.aarch64
【问题复现步骤】
1、虚拟机场景,配置OPTIONS+="static_node=修改设备节点权限,重新启动devmaster服务后,无法修改权限
/etc/devmaster/rules.d/02-devnode-privilege.rules规则内容

OWNER="root", GROUP="root", MODE="777", OPTIONS+="static_node=tty5"

重新启动devmaster,检查权限修改
【实际结果】
权限未修改为777
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等

评论 (2)

zzzzzzhao 创建了缺陷

Hi zzzzzzhao, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: dev-utils, and any of the maintainers: @fcwicky , @Monday , @ethan848 , @jingxiaolu , @forrest_ly , @yanan-rock , @dracoding , @myeuler , @hexiaowen , @love_hangzhou , @licunlong , @xuxiaozhou1 , @chenjiayi

openeuler-ci-bot 添加了
 
sig/dev-utils
标签
zzzzzzhao 负责人设置为chenjiayi
zzzzzzhao 优先级设置为次要
zzzzzzhao 修改了描述

目前devmaster不支持socket继承功能,在服务配置上需要添加devctl-trigger.service对devmaster.service的依赖关系。sctl restart devmaster会产生反向传播的行为,导致devctl-trigger.service也重新启动。

解决方法为:使用sctl stop+start命令重启devmaster服务。

chenjiayi 任务状态待办的 修改为已完成
zzzzzzhao 修改了描述

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 8566895 jiayi0118 1650351202
Rust
1
https://gitee.com/openeuler/sysmaster.git
git@gitee.com:openeuler/sysmaster.git
openeuler
sysmaster
sysmaster

搜索帮助

53164aa7 5694891 3bd8fe86 5694891