install: improve error message when systemd-boot is selected without composefs backend
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
- #2453 @ASVLCII による — マージされずにクローズ
評価
調査の方向性
install.rs:1818 から開始し、再現された bootc install to-disk コマンドが到達するエラーパスを調査します。systemd-boot に必要な composefs-backend の要件を説明するようにメッセージを更新し、その後、提供された再現手順または関連するインストールテストを実行して、結果が実用的であることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 2.3k
- フォーク
- 230
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 51
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bootc-dev/bootc のほかの issue
-
install: root SSH tmpfiles.d drop-in is labeled etc_runtime_t instead of etc_t対応中かも @andrewdunndev が 7 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
auto-updates fail with `opendir(boot): Operation not permitted` when /boot is a systemd automount that has idled out対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンtriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
bootc-dev/bootc#2402 · コメント 9 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
bootc-dev/bootc#2564 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 45/100
bootc-dev/bootc#2562 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
bootc-dev/bootc の issue をすべて見る
似ている issue
-
Docs: refresh target-app-parity and file-format-parity against main対応中かも @vangel76 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
storytold/photocraft#4417 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
bevyengine/dlss_wgpu#37 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
bherbruck/solvecraft#369 ·
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
alunduil/git-worktree-poi#11 ·