-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vmupdate: Fix SELinux plugin detection
The current plugin always run if the system is detected as fedora. But, SELinux is not always installed (minimal templates for example) or it can be intentionally disabled by the user, meaning the script will throw a chcon error in the update log. Fix that by first checking if SELinux is installed, and then check if the status is Enforcing/Permissive. (cherry picked from commit 2f751f2)
- Loading branch information
1 parent
3d84567
commit f796a64
Showing
1 changed file
with
26 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters