dracut icon indicating copy to clipboard operation
dracut copied to clipboard

Load the SELinux policy after switch_root and remove the selinux-loadpolicy module

Open gtrentalancia opened this issue 1 year ago • 0 comments

Load the SELinux policy after switch_root and remove the selinux-loadpolicy module.

This fixes the bootup process with recent kernels, as it was getting stuck on Permission Denied errors due to the early SELinux policy load.

Fixes https://github.com/dracutdevs/dracut/issues/2653

.github/labeler.yml | 4 - modules.d/98selinux/module-setup.sh | 17 ------- modules.d/98selinux/selinux-loadpolicy.sh | 70 ------------------------------ modules.d/99base/init.sh | 5 ++ 4 files changed, 5 insertions(+), 91 deletions(-)

gtrentalancia avatar Jun 16 '24 08:06 gtrentalancia