Skip to content

executor: Fix setting SELinux in permissive mode when no contexts pre…

Darryl Green requested to merge github/fork/bjackman/fix-selinux into master

Created by: bjackman

…sent

It can happen that getenforce succeeds returning Permissive, but setenforce fails because no contexts are enabled.

Move the order of try/excepts so that LISA doesn't error in this case.

Merge request reports