composefs: switching from a BLS install to a UKI image fails with "Conflicting boot types" and breaks subsequent bootc commands
维护者通常 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:
- 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.
- 主要语言
- Rust
- 星标
- 2.3k
- 派生
- 230
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 47
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bootc-dev/bootc 的其他 Issue
-
auto-updates fail with `opendir(boot): Operation not permitted` when /boot is a systemd automount that has idled out可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭triaged
难度 2/5 1-3 小时 新手友好度 70/100
bootc-dev/bootc#2402 · 9 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
install: improve error message when systemd-boot is selected without composefs backend可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 43/100
bootc-dev/bootc#2580 · 4 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 72/100
bootc-dev/bootc#2578 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
meta.json, text.txt and try JSON are written non-atomically可能已有人在做 @qwertymuzaffar 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
qwertymuzaffar/parrot#47 ·
维护者通常 1 天内回复
-
priority: medium
难度 2/5 1-3 小时 新手友好度 66/100
storytold/photocraft#8041 · 1 条评论 ·
维护者通常 1 天内回复
-
fmt -p: an unprefixed last line without a newline gets one added可能已有人在做 @fixfon 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
jhspetersson/fselect#187 ·
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 84/100
writerslogic/holographic-memory#96 ·
维护者通常 1 天内回复