Skip to content
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

1.9.3运行报错,无法读取 /data/system/packages.xml。1.9.2没问题。 #1848

Open
4 of 5 tasks
SGN-EARTH opened this issue Jun 9, 2024 · 0 comments
Open
4 of 5 tasks
Labels
bug Something isn't working

Comments

@SGN-EARTH
Copy link

SGN-EARTH commented Jun 9, 2024

操作系统

Android

系统版本

Android13_MIUI14

安装类型

sing-box 原始命令行程序

如果您使用图形客户端程序,请提供该程序版本。

No response

版本

sing-box version 1.9.3

Environment: go1.22.4 android/arm64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api
Revision: 085f60337799afc906069b540a38368968c123e4
CGO: enabled

描述

一开始用的 1.9.2 在 termux 上运行没啥问题,更新到 1.9.3 后报:
FATAL[0000] start service: start package manager: read packages list: open /data/system/packages.xml: permission denied
使用 sudo 运行才行

客户端配置如下:

{
    "log": {
        "disabled": false,
        "level": "info",
        "output": "",
        "timestamp": true
    },
    "dns": {
        "servers": [
            {
                "tag": "cloudflare-dns",
                "address": "https://1.0.0.1/dns-query",
                "address_resolver": "",
                "address_strategy": "prefer_ipv4",
                "strategy": "prefer_ipv4",
                "detour": "client-direct-out"
            },
            {
                "tag": "ali-dns",
                "address": "quic://dns.alidns.com",
                "address_resolver": "local-dns",
                "address_strategy": "prefer_ipv4",
                "strategy": "prefer_ipv4",
                "detour": "client-direct-out"
            },
            {
                "tag": "dnspod",
                "address": "119.29.29.29",
                "address_resolver": "",
                "address_strategy": "prefer_ipv4",
                "strategy": "prefer_ipv4",
                "detour": "client-direct-out"
            },
            {
                "tag": "local-dns",
                "address": "udp://127.0.0.1",
                "address_strategy": "prefer_ipv4",
                "strategy": "prefer_ipv4"
            }
        ],
        "rules": [],
        "final": "dnspod",
        "strategy": "prefer_ipv4",
        "disable_cache": false,
        "disable_expire": false,
        "independent_cache": false,
        "reverse_mapping": false,
        "fakeip": {}
    },
    "inbounds": [
        {
            "type": "mixed",
            "tag": "client-mixed-in",
            "listen": "::",
            "listen_port": 1080
        }
    ],
    "outbounds": [
        {
            "type": "vmess",
            "tag": "client-vmess-out",
            "server": "xxxxxxxx",
            "server_port": 443,
            "uuid": "xxxxxxxx",
            "security": "auto",
            "alter_id": 0,
            "global_padding": false,
            "authenticated_length": true,
            "network": "tcp",
            "packet_encoding": "",
            "tls": {
                "enabled": true,
                "server_name": "xxxxxxxx",
                "min_version": "1.3",
                "max_version": "1.3",
                "utls": {
                    "enabled": true,
                    "fingerprint": "firefox"
                }
            },
            "transport": {
                "type": "httpupgrade",
                "path": "xxxxxxxx"
            }
        },
        {
            "type": "direct",
            "tag": "client-direct-out"
        }
    ]
}

重现方式

日志

No response

支持我们

完整性要求

  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。
@nekohasekai nekohasekai added the bug Something isn't working label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants