Skip to content

Unable to boot after running 10_keepselinux.sh #72

@digulla

Description

@digulla

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:

  1. Run restorecon during migration
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions