Accepting request 709365 from security:SELinux

Resubmit rev that passed staging - only 2 test left running; LTO disablement is not that urgen to block the staging another 48 hours

OBS-URL: https://build.opensuse.org/request/show/709365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=56
This commit is contained in:
Dominique Leuenberger 2019-06-12 11:07:28 +00:00 committed by Git OBS Bridge
commit 9f0fa4fcaa
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jun 3 09:34:17 UTC 2019 - <jsegitz@suse.com>
- In selinux-ready
* Removed check for selinux-policy package as we don't ship one
(bsc#1136845)
* Add check that restorecond is installed and enabled
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 24 11:22:19 UTC 2019 - <jsegitz@suse.com> Fri May 24 11:22:19 UTC 2019 - <jsegitz@suse.com>

View File

@ -196,17 +196,17 @@ check_initupstart()
check_runlevel() check_runlevel()
{ {
if [ "$(systemctl is-enabled restorecond.service)" == "enabled" ]; then if [ "$(systemctl is-enabled restorecond.service 2>/dev/null)" == "enabled" ]; then
printf "\tcheck_runlevel: OK. restorecond is enabled on your system\n" printf "\tcheck_runlevel: OK. restorecond is enabled on your system\n"
return 0; return 0;
fi fi
printf "\tcheck_runlevel: ERR. please execute 'yast2 runlevel' and enable restorecond.\n" printf "\tcheck_runlevel: ERR. please enable restorecond with systemctl enable restorecond.service.\n"
return 1 return 1
} }
check_packages() check_packages()
{ {
PKGLST="checkpolicy policycoreutils selinux-tools libselinux1 libsepol1 libsemanage1 selinux-policy" PKGLST="checkpolicy policycoreutils selinux-tools libselinux1 libsepol1 libsemanage1 restorecond"
FAIL=0 FAIL=0
for i in $PKGLST for i in $PKGLST