-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: mac arm版本无法开启tun模式,开启后报错 #6460
Comments
目前macos版本还没有实现每次输入密码启动tun的功能,会报错。 |
提示这个错误:Password:FATAL[0001] start service: pre-start cache file: open cache.db: read-only file system |
cache.db 是sing-box的临时文件,应该在配置文件路径下有,你删除掉试一试。 |
删除不行,添加可写权限后可以运行代理,但是貌似没有以tun模式运行,同时还是报错:Password:FATAL[0001] start service: pre-start cache file: open cache.db: read-only file system |
如果不开tun,是不是正常? |
在设置中有个 |
目前这个问题就你反馈了,没有人遇到缓存的问题。 |
在Windows和Mac上都测试了下,感觉是singbox的内核有问题,两个系统,用tuicv5协议,启用tun就有问题,经常报错,或者启动后无法连接,但是换成xray支持的协议(vless+reality),开启tun就没事,节点都用shadowrocket在Mac上测试是可以连接的 |
预期情况
开启tun模式
实际情况
报错/Users/xxx/Library/Application Support/v2rayN/bin/run_as_sudo.sh: line 2: pkexec: command not found
复现方法
点击tun模式按钮
日志信息
2025-01-08 20:51:31.1279-INFO /Users/xxx/Library/Application Support/v2rayN/bin/run_as_sudo.sh
2025-01-08 20:51:31.3172-DEBUG CoreHandler,/Users/xxx/Library/Application Support/v2rayN/bin/run_as_sudo.sh: line 2: pkexec: command not found
2025-01-08 20:51:31.3180-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Handler/CoreHandler.cs:line 264
额外信息
No response
我确认已更新至最新版本
我确认已查询历史issues
The text was updated successfully, but these errors were encountered: