install: --composefs-backend ignores install config kargs, karg-deletes and --karg-delete
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
- #42 @cgwalters-bot による — マージされずにクローズ
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start with install_container in crates/lib/src/install.rs and the composefs BLS-entry and compute_new_kargs paths in crates/lib/src/bootc_composefs/boot.rs. Read the plan-40-install-karg-delete skip in tmt/plans/integration.fmf and the related tests; reproduce the to-disk case described here. Done means composefs applies install-config kargs and both delete sources like the ostree path, or clearly rejects unsupported options.
索引モデルが issue の本文から書いたものです。
説明
With --composefs-backend, bootc install to-disk ignores kargs and karg-deletes from the install config, and the --karg-delete option. The config kargs are missing from the kernel command line, and the deletes leave their kargs in place. The install exits 0 without a warning. The same install without --composefs-backend applies all three.
Reproduced on quay.io/fedora/fedora-bootc:44 (bootc 1.16.13) with this derived image:
FROM quay.io/fedora/fedora-bootc:44@sha256:5ab8ee5189bb0f3870279723f5343474df002d8d6f46564702b3ad3ba7382d98
COPY 10-gapbase.toml /usr/lib/bootc/kargs.d/10-gapbase.toml
COPY 50-gaps.toml /usr/lib/bootc/install/50-gaps.toml
# 10-gapbase.toml
kargs = ["gapdel=1", "gapclidel=1"]
# 50-gaps.toml
[install]
kargs = ["gapcfg=1"]
karg-deletes = ["gapdel=1"]
podman build -t localhost/gaprepro:1 .
truncate -s 20G a.raw b.raw
podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t \
-v /dev:/dev -v /var/lib/containers:/var/lib/containers -v $PWD:/out localhost/gaprepro:1 \
bootc install to-disk --via-loopback --filesystem ext4 --generic-image --wipe \
--composefs-backend --karg-delete=gapclidel=1 /out/a.raw
# the same again without --composefs-backend, writing b.raw
/proc/cmdline after booting each disk, from rw onwards:
composefs: rw composefs=52e75610b743... gapdel=1 gapclidel=1
ostree: rw gapcfg=1 ostree=/ostree/boot.1/default/2e3c2da7.../0
The ostree path adds the install config kargs and kargs.d, then applies karg-deletes and --karg-delete, in install_container (install.rs L1217-L1252). The composefs BLS entry takes root_setup.kargs and --karg (boot.rs L782-L791) and adds kargs.d through compute_new_kargs (L865), and nothing under bootc_composefs reads install_config or karg_delete. plan-40-install-karg-delete is skipped on composefs (integration.fmf L252-L258).
#2304 and #2305 covered --karg on this path; these are the remaining kernel argument options. I'd expect composefs installs to apply them as ostree installs do, or to reject them. I only tested to-disk with BLS entries.
- 主要言語
- Rust
- スター
- 2.3k
- フォーク
- 230
- 平均マージ
- 2日 11時間
- マージ済み PR(30日)
- 42
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bootc-dev/bootc のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
install: improve error message when systemd-boot is selected without composefs backend再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
メンテナーはふだん 2 日以内に返信
bootc-dev/bootc の issue をすべて見る
似ている issue
-
[Bug]: layer.move to the place a layer already has fails and stops a script; with several layers it leaves an empty undo step対応中かも @jgregoriorincon が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opengeos/RustGIS#2621 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue web
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Wait for the IDS correction dialog to settle in the stale-audit test対応中かも @louistrue が今日担当しました。 オープンready
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信