Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#2,556 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Rust
星标
2.3k
派生
230
平均合并
2 天 12 小时
30 天内合并 PR
47

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bootc-dev/bootc 的其他 Issue

查看 bootc-dev/bootc 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。