Open gtrentalancia opened 3 months ago
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.
.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(-)
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(-)