Change `--update-from-host` to not default to setting STORAGE_OPTS

オープン
#171 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust

調査の方向性

Start by locating the --update-from-host handling and the tmpfiles setup that currently sets STORAGE_OPTS; the issue names no files or tests. Compare the proposed scoped-credential approach with the short-term /run/update-from-host.env option before choosing a direction. Done means host images are available to bootc upgrade without making them visible to unrelated tools such as podman images.

索引モデルが issue の本文から書いたものです。

説明

--update-from-host setting the default STORAGE_OPTS in the environment is convenient in some respects, but it also has a large blast radius in that it affects everything, including podman. I don't think we want podman images to see all of the host images by default.

The most elegant fix here is a bit complicated:

  • Teach bootc to fetch configuration from systemd credentials directly (which requires having bootc at least be a transient service...or maybe we inject for now credentials for the [email protected]?)
  • Once we have a scoped credential, change bcvk to inject that instead

In the short term, perhaps we change our tmpfiles setup to inject /run/update-from-host.env or so and then one does . /run/update-from-host.env && bootc upgrade ?

主要言語
Rust
スター
142
フォーク
40
平均マージ
2日 22時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bootc-dev/bcvk のほかの issue

bootc-dev/bcvk の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。