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: Drop SELinux-disabled warning #790

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

cgwalters
Copy link
Collaborator

We have e2e tests for this today. On a related topic, unfortunately the way bootc-image-builder sets up the container it runs bootc in it doesn't mount selinuxfs, so we see SELinux as disabled when it's not.

We should fix that, but it also avoids user confusion to drop the warning here.

While we're here, change things so we more consistently log the state computed.

Closes: #419

We have e2e tests for this today. On a related topic, unfortunately
the way bootc-image-builder sets up the container it runs bootc
in it doesn't mount selinuxfs, so we see SELinux as disabled
when it's not.

We should fix that, but it also avoids user confusion to
drop the warning here.

While we're here, change things so we more consistently
log the state computed.

Closes: containers#419
Signed-off-by: Colin Walters <walters@verbum.org>
@github-actions github-actions bot added the area/install Issues related to `bootc install` label Sep 17, 2024
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine, thanks!

Orthogonal(ish) to this, shoudl we enable seinuxfs in our bib containers? It sounds like a good correctness fix?

@cgwalters
Copy link
Collaborator Author

Orthogonal(ish) to this, shoudl we enable seinuxfs in our bib containers? It sounds like a good correctness fix?

I think so yes

@cgwalters cgwalters merged commit c173970 into containers:main Sep 18, 2024
30 of 34 checks passed
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

Successfully merging this pull request may close these issues.

Ensure no-selinux case is at least e2e tested periodically
2 participants