rancher / elemental-toolkit

:snowflake: The toolkit to build, ship and maintain cloud-init driven Linux derivatives based on container images
https://rancher.github.io/elemental-toolkit/docs/
Apache License 2.0
288 stars 49 forks source link

Support SELinux #2050

Closed frelon closed 4 months ago

frelon commented 4 months ago

This commit adds two new features: selinux and selinux-example.

selinux feature contains config files for running selinux in enforcing mode.

selinux-example contains an example semodule that is generated using the documented 'audit2allow' command.

There are also some change to make the init command more selinux aware.

frelon commented 4 months ago

Closing draft PR