possible capability missing on Ubuntu 24.04 on wsl2?

Aperta
#131 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, linux

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
Go
Stelle
5
Fork
5
Merge medio
15h 27m
PR unite (30g)
41

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/fiberd

Tutte le issue di Azure/fiberd

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.