|
|
Log in / Subscribe / Register

SELinux and containers are complementary

SELinux and containers are complementary

Posted Nov 7, 2025 19:37 UTC (Fri) by marcH (subscriber, #57642)
In reply to: SELinux and containers are complementary by emmi3
Parent article: A security model for systemd

> In my experience RedHat, CentOS and Fedora come with extensive and very usable SELinux policies. None of our ~20 RH/COS servers has any of it disabled.

Just "usable" or actually adding security? Has some corresponding penetration testing been performed, are the reports available somewhere? Is there any other evidence that threats were blocked? Are you reviewing all policy changes for errors, malicious or not? That must be a lot of work!

> Sure, if you deploy your own software, it takes some time to get everything right and it can at times be very frustrating to debug (especially if you forget about the 'dontaudit' thing).

Which means 100 times more work for your entire Linux distribution than for just your own apps. So do you know who did that huge amount of work, who maintains it and how and how much you can trust them? Don't get me wrong: you need to trust your Linux distribution anyway. But was SELinux really the best use of their limited security time?

> But in the end the docs are very good and we got every single service running and secured

SELinux: check!

Too bad security is not just a collection of checkboxes. It requires actually looking at what's behind the checkboxes. So how did your SELinux penetration testing go? What is your change review process? What is the ratio between the SELinux security value you get (hard to measure, I know) and the effort you put there and how does that ratio compare to other security measures you take?


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds