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

SELinux #114

Open
Tracked by #111
mudler opened this issue Sep 12, 2022 · 4 comments
Open
Tracked by #111

SELinux #114

mudler opened this issue Sep 12, 2022 · 4 comments

Comments

@mudler
Copy link
Member

mudler commented Sep 12, 2022

No description provided.

@mudler mudler mentioned this issue Sep 12, 2022
8 tasks
mudler added a commit to kairos-io/provider-kairos that referenced this issue Dec 14, 2022
SELinux has its own story: kairos-io/kairos#114. We temporary disable it here, as there is no support at OS level currently.

Signed-off-by: mudler <[email protected]>
@jmpolom
Copy link

jmpolom commented Apr 1, 2023

What is the status of SELinux support with kairos built OS images? I have noticed (via the PRs mentioned here) it's explicitly disabled from the Fedora builds and getenforce reports disabled in the OpenSUSE Tumbleweed builds. I attempted to override the settings via kernel boot arguments in both, and both failed to boot (basically about what I expected). In the case of the Tumbleweed build, systemd halted the boot process when it couldn't load an SELinux policy.

This looks like a very interesting and useful project overall. However SELinux support is an important feature I look for in any distribution I'm considering using. It would be good to know what the barriers are to enabling SELinux when kairos is used to deploy OS images. For example: can I build a custom image with the necessary policy packages and enable SELinux post install? What breaks if I enable SELinux?

@jimmykarily
Copy link
Contributor

Related story: #2107

@jmpolom
Copy link

jmpolom commented Nov 5, 2024

@mudler Is selinux supported with kairos or not?

@jimmykarily
Copy link
Contributor

@jmpolom selinux support is planned for 3.5.0: #111

That said, what you describe it what needs to happen. The right policies must be in place. Then selinux can probably be enabled and it should work. There is nothing inherent in Kairos that prevents selinux from working afaik.

If you make any progress on this and make it work, please share your results with us. Even if only for a specific distro, it will make the work for the rest of them a lot easier.

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

No branches or pull requests

3 participants