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

Suggest SELinux enforcing config #2049

Closed
wants to merge 1 commit into from

Conversation

anmazzotti
Copy link
Contributor

Turns out that setting SELINUX=enforcing in /etc/selinux/config is ineffective if enforcing=0 is passed as kernel arg.
The only way that I managed to successfully enforce SELinux is to do it through setenforce 1 at boot.
setsebool secure_mode_policyload on can be also set to forbid further changes.

Not a great solution, but the only one that works today.

Signed-off-by: Andrea Mazzotti <[email protected]>
@anmazzotti anmazzotti requested a review from a team as a code owner April 18, 2024 13:35
@anmazzotti anmazzotti self-assigned this Apr 19, 2024
@anmazzotti
Copy link
Contributor Author

Closing in favor of the better solution.

@anmazzotti anmazzotti closed this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant