8000 AppArmor 环境下,可能遇到权限问题 · Issue #3 · PA733/QmiSMS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
AppArmor 环境下,可能遇到权限问题 #3
Open
@PA733

Description

@PA733

x86 环境下,启用了 apparmor 后,可能会出现 Broken pipe 错误:

I20250406 06:09:12.563481 140550171612864 sms.cpp:91] [WebSocket] 连接已建立
I20250406 06:09:12.765698 140550171656000 sms.cpp:127] 
启动异步监听,按 Ctrl+C 停止程序...


(process:1): Qmi-WARNING **: 06:09:25.630: Cannot read from istream: connection broken
列出短信列表失败: endpoint hangup
列出短信列表失败: Cannot write message: Error sending data: Broken pipe
列出短信列表失败: Cannot write message: Error sending data: Broken pipe
……

现阶段建议添加 --privileged 参数。

仍在跟进此问题:

  • --cap-add=SYS_RAWIO
  • --security-opt apparmor=unconfined

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationhelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0