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

ambiguous suggestion with catchall_boolean for secure_mod_insmod #375

Open
commandline-be opened this issue Nov 29, 2022 · 0 comments
Open

Comments

@commandline-be
Copy link

commandline-be commented Nov 29, 2022

Reading this is ambiguous to novice SELinux users, it suggest both to enable (1) and to use value 0 (disable) in the same message.

*****  Plugin catchall_boolean (7.83 confidence) suggests   ******************
If you want to disable kernel module loading. 
Then you must tell SELinux about this by enabling the 'secure_mode_insmod' boolean.

Do
setsebool -P secure_mode_insmod 0

suggested is to write

If you want to disable kernel module loading. 
Then you must tell SELinux about this by setting 'secure_mode_insmod' boolean to 0.

To make the change permanent

Do
setsebool -P secure_mode_insmod 0

alternatively

If you want to disable kernel module loading. 
Then you must tell SELinux about this by disabling 'secure_mode_insmod'

To make the change permanent

Do
setsebool -P secure_mode_insmod 0
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

No branches or pull requests

1 participant