SELinux and containers are complementary
SELinux and containers are complementary
Posted Nov 7, 2025 9:13 UTC (Fri) by emmi3 (subscriber, #62443)In reply to: SELinux and containers are complementary by Cyberax
Parent article: A security model for systemd
I must object this claim. 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. 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). But in the end the docs are very good and we got every single service running and secured: Overleaf, Collabora, Dokuwiki, Openproject, NFS, Samba. SELinux is one of the main reasons why we choose RH/COS over Debian for our internet facing servers (the other being more stable Ceph support).
On the desktop I only had to fiddle once with SELinux on Fedora on our convertible laptop: After an upgrade the DE could not access the orientation/tilt sensor any more to rotate the screen as needed. This was easy to discover and fix.
But as always: YMMV. Using SELinux in unusual environments requires some work (possibly from an already overworked admin). But I still think it's worth it.
