possible capability missing on Ubuntu 24.04 on wsl2?

オープン
#131 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
41

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/fiberd のほかの issue

Azure/fiberd の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。