I've upgraded from Leap 15.6 to 16.0.
The migration doesn't run restorecon but the script 10_keepselinux.sh sets the kernel parameter enforcing=1 which means system can't execute /bin/sh or /bin/bash -> dead system.
Suggested solution:
- Run
restorecon during migration
- Don't add
enforcing. Rely on /etc/selinux/config instead. If you must, add enforcing=0 instead of =1 so the user has a hint what they might want to change later without risking to break the boot process and let the user figure out what is wrong.
I've upgraded from Leap 15.6 to 16.0.
The migration doesn't run
restoreconbut the script10_keepselinux.shsets the kernel parameterenforcing=1which means system can't execute/bin/shor/bin/bash-> dead system.Suggested solution:
restoreconduring migrationenforcing. Rely on/etc/selinux/configinstead. If you must, addenforcing=0instead of=1so the user has a hint what they might want to change later without risking to break the boot process and let the user figure out what is wrong.