projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9749f3
)
selinux-loadpolicy: set initial ret=0
author
Harald Hoyer
<harald@redhat.com>
Wed, 9 Sep 2009 17:50:44 +0000
(19:50 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 9 Sep 2009 17:50:44 +0000
(19:50 +0200)
modules.d/99base/selinux-loadpolicy.sh
patch
|
blob
|
history
diff --git
a/modules.d/99base/selinux-loadpolicy.sh
b/modules.d/99base/selinux-loadpolicy.sh
index
eaaf337
..
fbdad22
100755
(executable)
--- a/
modules.d/99base/selinux-loadpolicy.sh
+++ b/
modules.d/99base/selinux-loadpolicy.sh
@@
-2,6
+2,7
@@
# FIXME: load selinux policy. this should really be done after we switchroot
if [ -x "$NEWROOT/usr/sbin/load_policy" -o -x "$NEWROOT/sbin/load_policy" ] && [ -e "$NEWROOT/etc/sysconfig/selinux" ]; then
+ ret=0
info "Loading SELinux policy"
{
# load_policy does mount /proc and /selinux in libselinux,selinux_init_load_policy()