ephemeral: selinux + composefs

Aperta
#213 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Start by reading the implementation for how bcvk currently mounts the container root filesystem through virtiofs and where it sets selinux=0; the issue does not name specific files or tests. Investigate how to generate a composefs image backed by virtiofs and preserve SELinux labels. Done means the root filesystem uses composefs and SELinux is enabled with correct labeling during ephemeral testing.

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

Descrizione

Splitting this from #22

In this we'll make the root filesystem use composefs, and re-enable SELinux with proper labeling.

Composefs provides a content-addressed, immutable filesystem layer that's exactly what bootc uses in production. Rather than mounting virtiofs directly as root, the implementation would generate a composefs image from the container's root filesystem, with virtiofs providing the backing object store.

The key advantage of composefs for this use case is SELinux labeling. Each file in the composefs can have its correct SELinux context baked in, rather than everything inheriting virtiofs_t from the virtiofs mount. This should allow dropping selinux=0 and catching SELinux policy issues during ephemeral testing.

Lingua principale
Rust
Stelle
142
Fork
40
Merge medio
2g 22h
PR unite (30g)
10

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 bootc-dev/bcvk

Tutte le issue di bootc-dev/bcvk

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.