bootc-dev / bootc-dev/bootc

install: Make some "lints" default fatal

オープン
#960 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/install enhancement good first issue
主要言語
Rust
スター
2.3k
フォーク
230
平均マージ
3日 12時間
マージ済み PR(30日)
38

説明

TL;DR change `bootc install` to run `bootc container lint --fatal-only` *before* we start an install at all.

---

Our base image has an empty `/var`, and things like RPMs/debs that for legacy reasons write to `/var/run` will create it as a directory which will just break a lot of things, but often not *totally* fatally.

- https://issues.redhat.com/browse/RHEL-25756 (originally https://github.com/CentOS/centos-bootc/issues/140 )
- https://gitlab.com/fedora/bootc/base-images/-/issues/28 (e.g. Fedora's `audit` package has `/var/run`)

We added a lint against this in `RUN bootc container lint` but not many people know to use that yet.

Almost all of what we have as lints today should be fatal at install time by default. The only exception is `usr/etc` needs to be a soft, not hard error for compat today.

(Also we should warn client side too! But install time would help a lot for now)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by tracing the `bootc install` entry point and the existing `bootc container lint --fatal-only` behavior. Confirm that fatal lints run before installation begins, while `usr/etc` remains a soft error; done means the install path rejects images with the other fatal lint conditions.

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

評価

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

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

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