OneXray|科学之家 kexuezj.com
OneXray · 科学之家
yiguodevOneXray 开发者
GitHub·2026.09.11 19:54:40(UTC+8)

yiguodev:OneXray Linux 进程校验在开发分支修复

yiguodev 表示已在 dev-26.9.2-5(提交 32564a2、762f775)修复:Linux 上 file capabilities 可使 /proc//exe 不可读,旧进程检查会误判正在运行的 Core。完整技术说明见下方原文。

作者原文@yiguodev

Thanks for reporting. Fixed on dev-26.9.2-5 in 32564a2 and 762f775.

On Linux, file capabilities can make /proc/<pid>/exe unreadable, causing the old process checks to reject a Core that is actually running. Core management now uses exact OneXrayCore name matching via pgrep/pkill, preserves exit notifications, and confirms shutdown before reporting Disconnected. The slow per-process Dart /proc scans have also been removed.

Verified on Linux ARM64 with the real app: connect/disconnect, reconnect, adoption after app restart, and automatic status updates when Core exits externally.

Closing as fixed in the development branch. Please retest with a build containing these commits and reopen if the problem persists.