Skip to contentSkip to conversation

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

PATCH Applied Paul Moore 1 participant 2 messages Sep 20, 2022 – Sep 21, 2022 SELinux security module

lore
Share & tools
lore

Paul Moore

author maintainer
#0 lore raw

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

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

---
 scripts/selinux/install_policy.sh |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
scripts/selinux/install_policy.sh +1 -2
index 20af56ce245c5..24086793b0d8d 100755
@@ -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
 
author maintainer Applied
#1 lore raw
Quoted 8 lines · Paul Moore

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

---
 scripts/selinux/install_policy.sh |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Merged into selinux/next.

Signature · 1 line
paul-moore.com