diff --git a/libselinux.changes b/libselinux.changes index f1de0c5..f14d8fa 100644 --- a/libselinux.changes +++ b/libselinux.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 7 08:24:33 UTC 2024 - Cathy Hu + +- Drop check_runlevel from selinux-ready script and remove restorecond + from check_packages as we don't require it to be selinux-ready. + ------------------------------------------------------------------- Thu Jul 11 19:47:41 UTC 2024 - Cathy Hu diff --git a/selinux-ready b/selinux-ready index 30eca15..9fec303 100644 --- a/selinux-ready +++ b/selinux-ready @@ -167,19 +167,9 @@ check_initupstart() fi } -check_runlevel() -{ - if [ "$(systemctl is-enabled restorecond.service 2>/dev/null)" == "enabled" ]; then - printf "\tcheck_runlevel: OK. restorecond is enabled on your system\n" - return 0; - fi - printf "\tcheck_runlevel: ERR. please enable restorecond with systemctl enable restorecond.service.\n" - return 1 -} - check_packages() { - PKGLST="checkpolicy policycoreutils selinux-tools libselinux1 libsepol2 libsemanage2 restorecond" + PKGLST="checkpolicy policycoreutils selinux-tools libselinux1 libsepol2 libsemanage2" FAIL=0 for i in $PKGLST @@ -240,6 +230,5 @@ check_packages check_config check_initupstart check_pam -check_runlevel rm -rf $TD