Skip to content

Better handling for selinux errors #20

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

Open
wants to merge 1 commit into
base: release/8.0
Choose a base branch
from

Conversation

Peter-Sh
Copy link

When SELinux is enabled (either Enforcing or Permissive), we do not expect configuration errors. If an error occurs during SELinux configuration, we now display the output and include a clear error message to help with troubleshooting.

When SELinux is disabled, we assume the user has intentionally disabled it and may have removed essential SELinux packages such as selinux-policy-targeted. In this case, instead of displaying cryptic error messages, we simply show a note indicating that SELinux was not configured and that the required packages will need to be reinstalled if the user decides to re-enable SELinux in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant