Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Backport runc exec/setns race fix (1.4.1+/1.4.3) to Azure Linux 4.0

Aperta Adatta ai principianti
#19,102 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, linux

Direzione di ricerca

Inizia con specs/r/runc/runc.spec nel branch 4.0 e confronta i dettagli di versione e packaging con l'aggiornamento di runc in PR #18777. Aggiorna il pacchetto 4.0 a runc 1.4.1 o successivo, idealmente 1.4.3, ed esegui la build del pacchetto e i test pertinenti; il lavoro è completato quando il pacchetto aggiornato viene compilato per Azure Linux 4.0.

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

Descrizione

Summary

On Azure Linux 4.0 (Cloud Variant Beta), running Docker containers that are docker exec'd into shortly after container start (e.g. kind's docker exec --privileged <node> cat /kind/version during kind create cluster bootstrap) intermittently fails with:

OCI runtime exec failed: exec failed: unable to start container process: error starting setns process: exec: already started

This is the Docker/runc exec/setns race tracked upstream as moby/moby#52194, introduced in Docker/moby 29.2.1 (not present in 28.0.1). It is reported upstream to be fixed by runc 1.4.1+.

Environment

  • Azure Linux 4.0 (Cloud Variant Beta), VERSION_ID=4.0
  • moby-engine-29.2.1-5.azl4.x86_64 (also reproduces on -3.azl4; these are the only two builds currently in azurelinux-base, so tdnf downgrade moby-engine cannot reach an unaffected 28.x build)
  • runc-1.4.0-4.azl4.x86_64 (standalone package, confirmed via rpm -q --whatprovides /usr/bin/runc)
  • Reproduced with both kind v0.20.0 and a freshly-installed kind v0.33.0 — ruling out kind version as a factor

What I found in this repo

  • specs/r/runc/runc.spec on the 4.0 branch is still pinned to Version: 1.4.0, last touched 2026-08-19.
  • PR #18777 ("containerd2: upgrade to 2.3.4 and runc to 1.4.3") already merged this exact bump for Azure Linux 3.0 (3.0-dev label) on 2026-09-18, but no equivalent PR/backport exists yet targeting the 4.0 branch.
  • No existing open issue/PR in this repo mentions setns or this moby-engine 29.2.1 regression.

Request

Please backport the runc bump (1.4.0 → 1.4.1+, ideally matching the 1.4.3 used in #18777) to the Azure Linux 4.0 branch, since AZL4 currently ships a runc with this known exec/setns race and there's no supported in-repo mitigation available via tdnf (no older moby-engine build, no newer runc build).

Impact

Any workflow that does rapid docker exec right after container creation is affected, notably kind create cluster, which fails non-deterministically during kubeadm bootstrap with the error above.

Lingua principale
Python
Stelle
5.3k
Fork
708
Merge medio
3g 17h
PR unite (30g)
219

Preparare l'ambiente

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 microsoft/azurelinux

Tutte le issue di microsoft/azurelinux

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.