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

Đang mở
#171 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 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
infrastructure

Hướng nghiên cứu

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.

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

Mô tả

--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 ?

Ngôn ngữ chính
Rust
Star
142
Fork
40
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
10

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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/bcvk

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

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.