possible capability missing on Ubuntu 24.04 on wsl2?

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

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, linux
Lĩnh vực
operating-systems

Hướng nghiên cứu

Start by tracing the -runtime=proc capability setup from the command entry point and find where the bounding set is narrowed. Reproduce with the README commands on Ubuntu 24.04 under WSL2, then check how missing CAP_SETPCAP is handled. Done means the capability error is either resolved or the required runtime permissions and workaround are clearly documented.

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

Mô tả

when I build and then run the readme commands, I get the following capabilities errors. Is this a distro problem?

squillace@idiopath:~/ai-research/repos/fiberd$ make build
go build -o bin/ ./cmd/...
squillace@idiopath:~/ai-research/repos/fiberd$ export PYTHONPATH=$PWD/sdk/python/src      # fiberd run passes it on to the template
bin/fiberd run examples/fiberd-cli/hello.py          # fiber hello/1/1 says hello, world
bin/fiberd run -payload fiberd examples/fiberd-cli/hello.py   # hello, fiberd
bin/fiberd run -n 3 examples/fiberd-cli/hello.py     # fibers hello/1/1, hello/1/2 and hello/1/3
2026/11/26 11:51:53 fiberd: re-executing with only SETPCAP, NET_ADMIN, SYS_CHROOT, SYS_PTRACE, SYS_ADMIN, SYS_RESOURCE, SYS_TIME in the capability bounding set (-all-caps keeps them all)
2026/11/26 11:51:53 fiberd: narrow capabilities for -runtime=proc: caps: cannot narrow the bounding set without CAP_SETPCAP (grant CAP_SETPCAP, or pass -all-caps to keep every capability)
2026/11/26 11:51:53 fiberd: re-executing with only SETPCAP, NET_ADMIN, SYS_CHROOT, SYS_PTRACE, SYS_ADMIN, SYS_RESOURCE, SYS_TIME in the capability bounding set (-all-caps keeps them all)
2026/11/26 11:51:53 fiberd: narrow capabilities for -runtime=proc: caps: cannot narrow the bounding set without CAP_SETPCAP (grant CAP_SETPCAP, or pass -all-caps to keep every capability)
2026/11/26 11:51:53 fiberd: re-executing with only SETPCAP, NET_ADMIN, SYS_CHROOT, SYS_PTRACE, SYS_ADMIN, SYS_RESOURCE, SYS_TIME in the capability bounding set (-all-caps keeps them all)
2026/11/26 11:51:53 fiberd: narrow capabilities for -runtime=proc: caps: cannot narrow the bounding set without CAP_SETPCAP (grant CAP_SETPCAP, or pass -all-caps to keep every capability)
Ngôn ngữ chính
Go
Star
5
Fork
5
Merge trung bình
15 giờ 27 phút
Pull request đã merge (30 ngày)
41

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 Azure/fiberd

Tất cả issue của Azure/fiberd

Issue tương tự

Thêm issue về Go

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.