From bd3a17d00cb92e114a1dc54fa3e0bac5f3261a39 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 9 Jun 2022 23:15:26 +0300 Subject: [PATCH] install-multi-user: check if selinux is enabled and if it is then abort --- scripts/install-multi-user.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh index b79a9c23a..9a18280ef 100644 --- a/scripts/install-multi-user.sh +++ b/scripts/install-multi-user.sh @@ -638,6 +638,17 @@ place_channel_configuration() { fi } +check_selinux() { + if command -v getenforce > /dev/null 2>&1; then + if ! [ "$(getenforce)" = "Disabled" ]; then + failure <