composefs: switching from a BLS install to a UKI image fails with "Conflicting boot types" and breaks subsequent bootc commands
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- operating-systems
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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:
- The switch succeeds and keeps the BLS deployment for rollback.
- 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
- Lenguaje dominante
- Rust
- Estrellas
- 2.3k
- Forks
- 230
- Merge medio
- 2 d 19 h
- PR fusionados (30 d)
- 56
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bootc-dev/bootc
-
install: root SSH tmpfiles.d drop-in is labeled etc_runtime_t instead of etc_tPosiblemente ocupada @andrewdunndev la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
auto-updates fail with `opendir(boot): Operation not permitted` when /boot is a systemd automount that has idled outPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
bootc-dev/bootc#2402 · 9 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
install: improve error message when systemd-boot is selected without composefs backendPosiblemente ocupada @ASVLCII la tomó hace 27 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
composefs: bootc status/upgrade/switch use the first ESP on the disk instead of the one the system booted from (dual-boot with Windows)Posiblemente ocupada @Johan-Liebert1 la tomó hoy. Abiertotriaged
bootc-dev/bootc#2554 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de bootc-dev/bootc
Issues similares
-
status:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agentic-os-org/ANOLISA#6742 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
git-ai-project/git-ai#2406 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Kc1t/alethe-agents#312 ·
Los mantenedores suelen responder en 3 días