Bound images referenced by tag@digest are pruned right after being pulled
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 71/100
調査の方向性
The issue points to image retention in crates/lib/src/deploy.rs and name handling in crates/lib/src/podstorage.rs. Read the prune comparison around the linked lines, then reproduce with the described .container binding and bootc switch. Done when a bound repo:tag@sha256:digest image remains available after pruning and the reported reboot failure is prevented.
索引モデルが issue の本文から書いたものです。
説明
A logically bound image referenced as repo:tag@digest is pulled by bootc switch, then pruned in the same command:
Fetching bound image: docker.io/vaultwarden/server:1.37.5-alpine@sha256:bbe684a0…...done (3 seconds)
Bound images stored: 1
Deploying...done (6 seconds)
Pruned images: 1 (layers: 5, objsize: 73.9 kB)
After the reboot, the app fails with image not known (Pull=never).
Podman stores a repo:tag@digest pull under the name repo@digest, without the tag. The prune keeps an image only if one of its names equals an Image= string exactly:
so docker.io/vaultwarden/server:1.37.5-alpine@sha256:… never matches docker.io/vaultwarden/server@sha256:….
Reproduce: bind an image with Image=<repo>:<tag>@sha256:<digest> in a .container linked from /usr/lib/bootc/bound-images.d/, then bootc switch to it. Seen with bootc 1.17.1 (Fedora 45); main has the same code. A digest-only reference works.
- 主要言語
- 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 日以内に返信