aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorDan Walsh <dwalsh@redhat.com>2004-10-05 19:36:53 +0000
committerDan Walsh <dwalsh@redhat.com>2004-10-05 19:36:53 +0000
commitf953f9004fd0d3fd3d2cc365b0f94a2e14f022e0 (patch)
tree5dad34390c3327c3740330dbd05dffbe26843c8b /rc.d/rc.sysinit
parent56a840eecd1a59438d27dcad3c5ed077dca80ca0 (diff)
downloadinitscripts-f953f9004fd0d3fd3d2cc365b0f94a2e14f022e0.tar
initscripts-f953f9004fd0d3fd3d2cc365b0f94a2e14f022e0.tar.gz
initscripts-f953f9004fd0d3fd3d2cc365b0f94a2e14f022e0.tar.bz2
initscripts-f953f9004fd0d3fd3d2cc365b0f94a2e14f022e0.tar.xz
initscripts-f953f9004fd0d3fd3d2cc365b0f94a2e14f022e0.zip
don't remount inside of SELinux relabel code
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 0 insertions, 4 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 7a3e1312..54787520 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -63,12 +63,8 @@ relabel_selinux() {
*** depending on file system size. ***
"
echo "0" > $selinuxfs/enforce
- mount -n -o remount,rw /
- mount -a
/sbin/fixfiles -F relabel > /dev/null 2>&1
rm -f /.autorelabel
- mount -n -o remount,ro /
- umount -a
echo "*** Enabling security enforcement. ***"
echo $SELINUX > $selinuxfs/enforce
}