Accepting request 37464 from home:thomasbiege:branches:security:SELinux
Copy from home:thomasbiege:branches:security:SELinux/libselinux via accept of submit request 37464 revision 2. Request was accepted with message: ok OBS-URL: https://build.opensuse.org/request/show/37464 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=31
This commit is contained in:
parent
84260a568e
commit
de18b4dd92
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 9 07:27:27 UTC 2010 - thomas@novell.com
|
||||||
|
|
||||||
|
- selinux-ready: added function to check for restorecond in
|
||||||
|
runlevel 3/5
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 8 06:37:34 UTC 2010 - thomas@novell.com
|
Thu Apr 8 06:37:34 UTC 2010 - thomas@novell.com
|
||||||
|
|
||||||
|
@ -160,6 +160,19 @@ check_initupstart()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_runlevel()
|
||||||
|
{
|
||||||
|
#ls -q /etc/rc.d/rc[35].d/S*restorecond 1>&2 >/dev/null
|
||||||
|
|
||||||
|
#if [ $? == 0 ]; then
|
||||||
|
if [ -x /etc/rc.d/rc3.d/S*restorecond ] || [ -x /etc/rc.d/rc5.d/S*restorecond ]; then
|
||||||
|
printf "\tcheck_runlevel: OK. your system is using restorecond in runlevel 3 and/or 5.\n"
|
||||||
|
return 0;
|
||||||
|
fi
|
||||||
|
printf "\tcheck_runlevel: ERR. please execute 'yast2 runlevel' and enable restorecond.\n"
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
check_packages()
|
check_packages()
|
||||||
{
|
{
|
||||||
PKGLST="checkpolicy policycoreutils selinux-tools libselinux1 libsepol1 libsemanage1 selinux-policy"
|
PKGLST="checkpolicy policycoreutils selinux-tools libselinux1 libsepol1 libsemanage1 selinux-policy"
|
||||||
@ -211,5 +224,6 @@ check_packages
|
|||||||
check_config
|
check_config
|
||||||
check_initupstart
|
check_initupstart
|
||||||
check_pam
|
check_pam
|
||||||
|
check_runlevel
|
||||||
|
|
||||||
rm -rf $TD
|
rm -rf $TD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user