Bedrock Linux Sandboxing issues

Đang mở
#764 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
arch-linux, linux, shell

Hướng nghiên cứu

Bắt đầu với steam.sh và đầu ra của steam-runtime-check-requirements, sau đó lần theo cách kiểm tra namespace của bwrap thực thi user namespaces. So sánh luồng đó với thiết lập Bedrock Linux và Arch được mô tả ở đây. Được coi là hoàn tất khi Steam có thể chạy trên Bedrock mà không gặp lỗi sandbox đã nêu, đồng thời vẫn giữ nguyên hành vi sandbox thông thường ở những nơi khác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Distro - Bedrock Linux 0.7.30Beta2 (Poki) on kernel 6.14.0_1
Strata - Arch

Due to the way some nonstandard distros like bedrock layer different filesystems, the removal of the --no-sandbox flag breaks compatability altogether.
Bedrock's permission layering across distros makes sandboxing very hard, and until now, this was the only way to run steam on it.

steam.sh[21003]: Running Steam on arch rolling 64-bit
steam.sh[21003]: STEAM_RUNTIME is enabled automatically
setup.sh[21054]: Steam runtime environment up-to-date!
steam.sh[21003]: Log already open
steam.sh[21003]: Using supervisor /home/van/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[21088]: W: Child process exited with code 1: bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.

steam.sh[21003]: Error: Steam now requires user namespaces to be enabled.

This requirement is the same as for Flatpak, which has more detailed
information available:
https://github.com/flatpak/flatpak/wiki/User-namespace-requirements

namespacing is enabled and working, but because bedrock is a stupid distro, it just does not work for steam.
The easiest fix is to add the --no-sandbox flag back.
Thanks.

Ngôn ngữ chính
Shell
Star
1.5k
Fork
98
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/steam-runtime

Tất cả issue của ValveSoftware/steam-runtime

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.