Using SELinux with container runtimes
by Lukas Vrabec At: FOSDEM 2020 https://video.fosdem.org/2020/UA2.114... Lukas Vrabec built a new standalone tool, udica, for generating SELinux policy profiles for containers based on automatic inspecting these containers. We will focus on why udica is needed in the container world and how it can make SELinux and containers work better together. We will show real examples where SELinux separation for containers had to be turned off because the generic SELinux type container_t was too tight. With a tool like “udica”, users and developers can easily customize the policy with limited SELnux policy writing skills. Come to see how easy also you can create custom SELinux policy for your containers! This talk will explain how SELinux works with containers. We will show how to enable/disable SElinux using multiple different container runtimes and define the default types. One issue with these types is that they are tough to customize. The two default types for running containers are container❮em❯t which is a fully confined domain, which eliminates any use of the host files unless they are relabeled. Or spc❮/em❯t, which is the type containers run with when SELinux is disabled for container separation, --privileged mode. As an example, If you had a container that you wanted to be able to gather the logs from /var/log on the host and send them to a centralized server, you have to disable SELinux separation. Writing custom policy for each container that needed additional access would be very difficult and require a container policy writer. Room: UA2.114 (Baudoux) Scheduled start: 2020-02-01 16:00:00

JMC & JFR - 2020 Vision

Using SELinux with container runtimes

Cgroups, namespaces, and beyond: what are containers made from?

Security-Enhanced Linux for mere mortals

Kubernetes Security - Security Context for a Pod or Container - 13

Overview of SELinux and AppArmor

SELinux All the Way Down: Namespaces for SELinux - Stephen Smalley, National Security Agency

SELinux in the containerized world - DevConf.CZ 2024

VM Networking ( Libvirt / Bridge )

Debugging apps running in Kubernetes An overview of the tooling available

SELinux Part1

Container Security Explained

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Deep dive into Kubernetes Runtime Security | Saeid Bostandoust

The Level Up Hour (E63) | SELinux: Containers and custom policy extensions

Deploying SELinux successfully in production environments

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

The Unity Tutorial For Complete Beginners

Postmodern strace

