projects/linux·commit 2fe2fb4c

selinux: remove runtime disable message in the install_policy.sh script

2fe2fb4c · Paul Moore <[email protected]> · 2022-09-20 14:11:11 -04:00

We are in the process of deprecating the runtime disable mechanism,
let's not reference it in the scripts.

Signed-off-by: Paul Moore <[email protected]>
Commit
2fe2fb4ce60be9005d7bfdd5665be03b8efb5b13
Parents
c969bb8d

Changes

1 files changed · +1 −2

FileStatusAddDelContent
scripts/selinux/install_policy.shmodified+1−2View file

scripts/selinux/install_policy.sh

View file
diff --git a/scripts/selinux/install_policy.sh b/scripts/selinux/install_policy.sh
index 20af56c..2408679 100755
--- a/scripts/selinux/install_policy.sh
+++ b/scripts/selinux/install_policy.sh
@@ -31,8 +31,7 @@ fi
if selinuxenabled; then
echo "SELinux is already enabled"
echo "This prevents safely relabeling all files."
- echo "Boot with selinux=0 on the kernel command-line or"
- echo "SELINUX=disabled in /etc/selinux/config."
+ echo "Boot with selinux=0 on the kernel command-line."
exit 1
fi