Portal:SELinux/Setup -- provides no way out upon error: too risky

In the article Portal:SELinux/Setup, you are cautioned to read all the steps before proceeding.
Getting down to step 9 shows a dire warning.

⚠️ check for potential error messages to avoid getting locked out from your system.
ausearch -m avc,user_avc,selinux_err,user_selinux_err -ts boot
If you see any errors, this is a good time to open a bug.

A statement like that scares anyone. You can’t not give an “EXIT MEANS” with a warning like that other than filing a bug.

I and many other would not proceed with these steps without a backup/exit plan. You can’t leave someone in danger of being locked out of their computer.

This needs to be ammended.

tom kosvic

1 Like

@tckosvic all depends on what you see, if your’ve never fiddled/modified the system defaults, should be fine…

Likewise, when running Tumbleweed, anything can happen, it’s a developmnet platform…

Why?

If you run in a serious SELinux-related problem (e.g. getting stuck while booting up) you

  • reboot
  • press “e” while the GRUB2-menu is on display
  • edit the line which starts with “linux /boot/vmlinuz…” and change “selinux=1” to “selinux=0
  • press F10 to continue booting

This should bring up your system with SELinux disabled and you can start troubleshooting your system..

Thanks for the “backout” info. I think it was needed.

I did convert from apparmor to selinux following the published instructions and had no issues or need to “backout”.

tom kosvic