Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

install: improve error message when systemd-boot is selected without composefs backend

Đang mở Phù hợp với người mới
#2,093 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@ASVLCII đang làm issue này rồi.

Từ ngày 11/9/2026.

  • #2453 của @ASVLCII — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
rust
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu tại install.rs:1818 và kiểm tra đường dẫn lỗi được truy cập bởi lệnh bootc install to-disk đã tái hiện. Cập nhật thông báo để giải thích yêu cầu composefs-backend đối với systemd-boot, sau đó chạy bản tái hiện được cung cấp hoặc các bài kiểm thử cài đặt liên quan để xác nhận rằng kết quả có thể sử dụng được.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

When --bootloader=systemd is specified without --composefs-backend, the error message is:

error: Installing to disk: bootupd is required for ostree-based installs

This doesn't tell the user what to do. The fix is to use --composefs-backend, but the error message doesn't mention composefs at all. It reads like bootupd is a hard requirement, when actually systemd-boot works fine with the composefs backend.

Reproduction
podman run --rm --privileged --pid=host \
    -v /dev:/dev -v /var/lib/containers:/var/lib/containers \
    quay.io/fedora/fedora-bootc:42 \
    bootc install to-disk --wipe --bootloader systemd --filesystem xfs /dev/sdX
Suggested improvement

Something like:

error: systemd-boot is not supported with the ostree backend. Use --composefs-backend to enable systemd-boot support.

Or if the user explicitly asked for systemd-boot, auto-enable composefs (with a note).

Context

The current error is at install.rs:1818. The bail message is technically accurate but not actionable for users who don't know about the composefs/ostree backend distinction.

Ngôn ngữ chính
Rust
Star
2.3k
Fork
230
Merge trung bình
2 ngày 20 giờ
Pull request đã merge (30 ngày)
48

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bootc-dev/bootc

Tất cả issue của bootc-dev/bootc

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.