possible capability missing on Ubuntu 24.04 on wsl2?

未关闭
#131 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
go, linux

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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)
主要语言
Go
星标
5
派生
5
平均合并
15 小时 27 分钟
30 天内合并 PR
41

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/fiberd 的其他 Issue

查看 Azure/fiberd 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。