possible capability missing on Ubuntu 24.04 on wsl2?
维护者通常 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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/fiberd 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 28/100
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 56/100
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 2 天内回复
-
[Bug] vela config-template apply drops the template's metadata.description可能已有人在做 @backendArchitect 今天认领。 未关闭area/cli area/config good first issue type/bug
难度 2/5 1-3 小时 新手友好度 82/100
kubevela/kubevela#7756 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复