-
Notifications
You must be signed in to change notification settings - Fork 4.3k
xray-core:latest-ls 镜像最近更新后,自定义容器用户运行显示Geofile权限错误。 #4747
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
Comments
This comment has been minimized.
This comment has been minimized.
很奇怪啊 二分法测下来有问题的commit是这个。。 |
基础映像是无发行版的 你应该设置nonroot这个用户名运行,uid65532,然后dat所在目录给755归root uid0 当前的这个docker映像不用也罢,因为做得并不好 |
因为之前的版本没问题 我说的那个commit之后才有问题的 是核心行为变了 一码归一码 和你的pr没关系 所以标ot了 |
你是直接拉ghcr的image测的吧 |
谢了 还真是 够无聊 |
就是试了一下发现当前docker映像很烂 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
完整性要求
描述
xray-core:latest-ls 镜像最近更新后,自定义容器用户运行显示Geofile权限错误。
重现方式
版本:25.5.16
tag:latest-ls
uid:13
user:www-data
错误:
Failed to start: main: failed to load config files: [/etc/xray/01_log.json /etc/xray/02_policy.json /etc/xray/03_dns.json /etc/xray/04_stats.json /etc/xray/05_routing.json /etc/xray/06_outbounds.json /etc/xray/07_metrics.json /etc/xray/08_xxx8080.json /etc/xray/09_socket8081.json] > infra/conf: failed to build routing configuration > infra/conf: invalid field rule > infra/conf: failed to parse domain rule: geosite:category-ads-all > infra/conf: failed to load geosite: CATEGORY-ADS-ALL > infra/conf: failed to load file: geosite.dat > infra/conf: failed to open file: geosite.dat > open /usr/share/xray/geosite.dat: permission denied”
客户端配置
服务端配置
客户端日志
服务端日志
The text was updated successfully, but these errors were encountered: