Bashify results testing for selinux policy loading
PATCH 6/50 Bashify results testing for selinux policy loading
Gitweb: http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=39b4c02111cae677cc33c731ab146c94404110c7 Commit: 39b4c02111cae677cc33c731ab146c94404110c7 Parent: e0bb3c3613a7b706984f12829892365fa42a404d Author: Victor Lowther <[email protected]> AuthorDate: Fri Feb 13 04:41:45 2009 -0800 Committer: Dave Jones <[email protected]> CommitDate: Mon Feb 16 13:56:40 2009 -0500
[PATCH 06/50] Bashify results testing for selinux policy loading
--- init | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
init +1 -1
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html