Message ID | 166369781344.135827.4622868911878878010.stgit@olly (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Paul Moore |
Headers | show |
Series | selinux: remove runtime disable message in the install_policy.sh script | expand |
On Tue, Sep 20, 2022 at 2:16 PM Paul Moore <paul@paul-moore.com> wrote: > > We are in the process of deprecating the runtime disable mechanism, > let's not reference it in the scripts. > > Signed-off-by: Paul Moore <paul@paul-moore.com> > --- > scripts/selinux/install_policy.sh | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Merged into selinux/next.
diff --git a/scripts/selinux/install_policy.sh b/scripts/selinux/install_policy.sh index 20af56ce245c5..24086793b0d8d 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
We are in the process of deprecating the runtime disable mechanism, let's not reference it in the scripts. Signed-off-by: Paul Moore <paul@paul-moore.com> --- scripts/selinux/install_policy.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)