Skip to content

install: Make some "lints" default fatal #960

Open
@cgwalters

Description

@cgwalters

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.

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/installIssues related to `bootc install`enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions