Browse Source

[PATCH 06/50] Bashify results testing for selinux policy loading

master
Victor Lowther 16 years ago committed by Dave Jones
parent
commit
39b4c02111
  1. 2
      init

2
init

@ -92,7 +92,7 @@ mount -t sysfs /sys $NEWROOT/sys @@ -92,7 +92,7 @@ mount -t sysfs /sys $NEWROOT/sys
# FIXME: load selinux policy. this should really be done after we switchroot
if [ -x $NEWROOT/usr/sbin/load_policy ]; then
chroot $NEWROOT /usr/sbin/load_policy -i
if [ $? -eq 3 ]; then
if (($? == 3)); then
echo "Initial SELinux policy load failed and enforcing mode requested."
echo "Not continuing"
sleep 100d

Loading…
Cancel
Save