[Bug 1197746] [Staging] Kernel 5.17 fails to boot with SELinux enabled setup

https://bugzilla.suse.com/show_bug.cgi?id=1197746 https://bugzilla.suse.com/show_bug.cgi?id=1197746#c8 --- Comment #8 from Jiri Slaby <jslaby@suse.com> --- (In reply to Micha�� Rostecki from comment #7)
What is setting the security=selinux parameter? Is it YaST? I will try to check, but I would appreciate some hints from someone who knows the answer.
I am no expert, I found this yesterday by coincidence: # rpm -q selinux-targeted-setup --scripts |grep -A 4 if.*\$GRUB_CFG if [[ -f $GRUB_CFG ]]; then if [[ ! $(grep "^GRUB_CMDLINE_LINUX_DEFAULT=" $GRUB_CFG | grep security=selinux) ]]; then sed -i -e 's|\(^GRUB_CMDLINE_LINUX_DEFAULT=.*\)"|\1 security=selinux selinux=1"|g' $GRUB_CFG fi fi -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com