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

composefs: switching from a BLS install to a UKI image fails with "Conflicting boot types" and breaks subsequent bootc commands

Aperta
#2,556 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start with the composefs deployment status check in crates/lib/src/bootc_composefs/status.rs around lines 990–995, which the issue identifies as requiring all deployments to share one boot type. Trace how switching and garbage collection handle a staged UKI deployment alongside a BLS deployment, and check the related issue #2422 for context. Done when the switch either preserves the BLS deployment for rollback or fails with a clear error before staging, and subsequent status and rollback commands remain usable.

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

Descrizione

Starting from a bootc composefs backend + systemd-boot system with a BLS image, bootc switch to a UKI image fails during grabadge collection after staging it. Any following commands like bootc status, bootc rollback fail with the same error:

error: Switching: Composefs Switching: Performing Upgrade Operation: Running composefs garbage collection: Getting composefs deployment status: Getting composefs deployment status: Conflicting boot types
$ sudo bootc status
error: Status: Getting composefs deployment status: Getting composefs deployment status: Conflicting boot types

The status code requires every deployment to share one boot type (status.rs#L990-L995).

Expected behavior:

  1. The switch succeeds and keeps the BLS deployment for rollback.
  2. Or bootc simply refuses with a clear error msg before staging.

Tested on bootc v1.16.10 + Ubuntu 26.04 image, but this will still happen on main currently as well.

Maybe related: #2422

Lingua principale
Rust
Stelle
2.3k
Fork
230
Merge medio
2g 19h
PR unite (30g)
56

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

Tutte le issue di bootc-dev/bootc

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.