Closed PKC278 closed 4 weeks ago
核心日志只有这些吗?有没有类似[Process] find process error:
的日志
哦……你日志级别设置了静默……这样的日志没有意义啊
忘了调日志级别了,这是mosdns发起的https dns连接
编辑/etc/capabilities/mihomo.json
,改为如下内容(添加CAP_SYS_PTRACE
),保存后重启服务再观察日志。
还是有这个错误
确定是重启了哈,如果确定是重启后还复现,再在刚才说的文件里添加CAP_SYS_RESOURCE
,保存后重启服务再观察一下。
确定重启了,我先关闭了mihomo,修改了这个文件,再启动的mihomo
mosdns进程还是不能识别
日志报错time="2024-08-22T06:47:46.993461595Z" level=debug msg="[Process] find process dns.google error: process of uid(0),inode(32679766) not found"
一会试下v1.7.1的Build
还是报错
time="2024-08-22T09:12:24.684070939Z" level=debug msg="[Process] find process dns.google error: process of uid(0),inode(32793341) not found"
time="2024-08-22T09:12:24.684070939Z" level=debug msg="[Process] find process cloudflare-dns.com error: process of uid(0),inode(32794727) not found"
为何核心版本不一致? 我测试是正常的呢……
可以了,正常了,我的软件仓库没更新,安装的时候自动用软件源的旧版本覆盖了
自查步骤
DNS 重定向
选项确认
系统
OpenWrt
系统版本
OpenWrt 23.05.4 r24012-d8dd03c46f
插件版本
1.7.0
硬件架构
aarch64_generic
BUG 描述
已在Mihomo插件中设置了匹配进程:启动,但是查看webui发现没有识别任何一个进程 也测试过关闭劫持,手动在Dnsmasq中设置dns转发,一样没有识别进程
使用OpenClash,使用相同版本的meta内核测试,可以正常识别进程
预期行为
正常识别进程
复现步骤
Mihomo插件中设置匹配进程:启动 开启插件 查看webui
插件日志
核心日志
配置文件
附加信息
No response