Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dontaudit systemd-coredump the sys_resource capability
After joining container namespace, the sd-parse-elf process wants to drop privileges (i.e. switch under systemd-resolve user) and as part of that process it calls the getpwnam() function. When /etc/nsswitch.conf in container has 'systemd' in passwd and group entries, that causes glibc to try to load that module. However, it is not loading (i.e. trying to create executable mapping of underlying .so file) the module from rootfs but from container and because coredumpt_t doesn't not have execute permission in container_t files we get AVC denial. While there, the capabilities granted previously were removed. Resolves: RHEL-46339
- Loading branch information