Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: Make some "lints" default fatal #960

Open
cgwalters opened this issue Dec 11, 2024 · 1 comment
Open

install: Make some "lints" default fatal #960

cgwalters opened this issue Dec 11, 2024 · 1 comment
Labels
area/install Issues related to `bootc install`

Comments

@cgwalters
Copy link
Collaborator

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)

@cgwalters cgwalters added the area/install Issues related to `bootc install` label Dec 11, 2024
@cgwalters
Copy link
Collaborator Author

Specifically related to /var/run, it'd also just paper over this entirely if we encouraged shipping that by default in the image, which is quite tempting to do.

But larger picture, we should also try to just convert all packages and other tools to stop using var/run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install`
Projects
None yet
Development

No branches or pull requests

1 participant