VPS install without install.sh: every read-only script check fails on Ubuntu 24.04, and the error points to a reinstall
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux, shell, typescript, ubuntu
- Lĩnh vực
- devops, documentation
Hướng nghiên cứu
Bắt đầu với phần AppArmor của Chrome trong docs/deploy-vps.md và profile bwrap do apps/link-service/install.sh ghi ra; sao chép profile đó và lệnh nạp apparmor_parser -r vào một mục con bwrap tương ứng. Sau đó, tìm trong codebase thông báo được trích dẫn "reinstall dusk bot" và trỏ nó tới mục mới. Hoàn tất khi một bản cài đặt thủ công trên Ubuntu 24.04 có thể làm theo tài liệu và lỗi script-check liên kết tới đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
I installed dusk bot 0.2.29 on an Ubuntu 24.04 VPS from the npm package, with my own systemd user unit (one of the manual paths in docs/deploy-vps.md), not with apps/link-service/install.sh.
Every script check that runs in the read-only fence fails with:
bubblewrap is installed but this computer will not let it make the namespaces a script check runs in (on Ubuntu 24.04, reinstall dusk bot so it loads its AppArmor profile for bwrap).
The cause: Ubuntu 24.04 blocks unprivileged user namespaces through AppArmor. install.sh writes /etc/apparmor.d/duskbot-bwrap and loads it, but the manual paths in docs/deploy-vps.md never mention it. The doc covers the same AppArmor block for Chrome (/etc/apparmor.d/duskbot-chrome), so a reader follows that and still has broken script checks.
"Reinstall dusk bot" doesn't help on a manual install. There is no install step to rerun.
access: "full" script checks are not affected, because they run outside the fence.
Steps to reproduce
- Ubuntu 24.04, default
kernel.apparmor_restrict_unprivileged_userns=1. - Install dusk bot by a manual path from
docs/deploy-vps.md. - Create a routine with a script check (no
access), and Run now. - The run fails with the message above. On the same machine,
bwrap --ro-bind / / --unshare-pid --share-net truefails withsetting up uid map: Permission denied.
What you'd like
docs/deploy-vps.md: a short section for the bwrap profile next to the Chrome one, with the same profileinstall.shwrites and theapparmor_parser -rcommand.- The error message links to that section instead of saying "reinstall".
Version / Platform
0.2.29, Ubuntu 24.04.4 LTS (kernel 6.8), self-hosted VPS.
Anything else
I'm happy to send the docs PR.
- Ngôn ngữ chính
- TypeScript
- Star
- 277
- Fork
- 27
- Merge trung bình
- 7 giờ 8 phút
- Pull request đã merge (30 ngày)
- 81
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DuskBotAI/duskbot
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 63/100
Maintainer thường phản hồi trong vòng 1 ngày
-
time zone: a self-hosted server can tell time in its owner's zone, the way a Cloud home doesĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DuskBotAI/duskbot
Issue tương tự
-
MCP tool results drop structuredContent when text is only a summaryCó thể đã có người làm @Pankaj-bit361 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
n8n-io/nod#1474 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Clean-up indicator: two polish points from the dev look (kit clock spacing, row description)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
inblockio/siwx-oidc-matrix-server#101 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pingdotgg/t3code#42253 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày