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

Implements SELinux type checking and ensuring. #62

Merged
merged 5 commits into from
Oct 21, 2015

Conversation

ElvenSpellmaker
Copy link
Contributor

The current module doesn't allow enforcing of the SELinux type which can make the system fail to boot unless checked.

For example someone setting the type to mls without proper configuration will cause the system to not be bootable. That way I can now force enforced and targeted to ensure a bootable system and ensure that I am using the correct SELinux type.

The default is set to targeted as this is what most people seem to use (and doesn't affect the default option of disabled to my knowledge) and is the default in the config on most systems.

@ElvenSpellmaker
Copy link
Contributor Author

It's true I should probably add some tests to this...

@ElvenSpellmaker
Copy link
Contributor Author

OK I am now a bit confused because the tests pass locally. =|

@ElvenSpellmaker
Copy link
Contributor Author

Note to self, don't commit the fixtures folder by accident.

All's well. =D

@jfryman
Copy link
Contributor

jfryman commented Oct 21, 2015

Great! Thanks for the code!

jfryman added a commit that referenced this pull request Oct 21, 2015
Implements SELinux type checking and ensuring.
@jfryman jfryman merged commit c097c3f into voxpupuli:master Oct 21, 2015
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.

2 participants