composefs: switching from a BLS install to a UKI image fails with "Conflicting boot types" and breaks subsequent bootc commands
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Rust
- Star
- 2.3k
- Fork
- 230
- Merge trung bình
- 2 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 56
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bootc-dev/bootc
-
install: root SSH tmpfiles.d drop-in is labeled etc_runtime_t instead of etc_tCó thể đã có người làm @andrewdunndev đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
auto-updates fail with `opendir(boot): Operation not permitted` when /boot is a systemd automount that has idled outCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởtriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
bootc-dev/bootc#2402 · 9 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
install: improve error message when systemd-boot is selected without composefs backendCó thể đã có người làm @ASVLCII đã nhận 27 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
composefs: bootc status/upgrade/switch use the first ESP on the disk instead of the one the system booted from (dual-boot with Windows)Có thể đã có người làm @Johan-Liebert1 đã nhận hôm nay. Đang mởtriaged
bootc-dev/bootc#2554 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của bootc-dev/bootc
Issue tương tự
-
status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agentic-os-org/ANOLISA#6742 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
git-ai-project/git-ai#2406 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Kc1t/alethe-agents#312 ·
Maintainer thường phản hồi trong vòng 3 ngày