diff options
author | Bill Nottingham <notting@redhat.com> | 2004-09-23 18:28:10 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-09-23 18:28:10 +0000 |
commit | e4ec9f286377cf335077f2d1cd3261b974523397 (patch) | |
tree | 0a75c5af5d5e074261003e4f31df14c01f51d65f | |
parent | 0039091ba631e1ec490d2435a4f60a4540e017c0 (diff) | |
download | initscripts-e4ec9f286377cf335077f2d1cd3261b974523397.tar initscripts-e4ec9f286377cf335077f2d1cd3261b974523397.tar.gz initscripts-e4ec9f286377cf335077f2d1cd3261b974523397.tar.bz2 initscripts-e4ec9f286377cf335077f2d1cd3261b974523397.tar.xz initscripts-e4ec9f286377cf335077f2d1cd3261b974523397.zip |
move relabel until after all FSes are checked
-rwxr-xr-x | rc.d/rc.sysinit | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index b2599bb8..2a816e94 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -422,11 +422,6 @@ if [ -z "$fastboot" -a "$READONLY" != "yes" -a "X$ROOTFSTYPE" != "Xnfs" -a "X$RO _RUN_QUOTACHECK=1 fi fi -# -# Check to see if SELinux requires a relabel -# -[ -n "$SELINUX" ] && [ -f /.autorelabel ] && relabel_selinux - # Unmount the initrd, if necessary if LC_ALL=C fgrep -q /initrd /proc/mounts && ! LC_ALL=C fgrep -q /initrd/loopfs /proc/mounts ; then if [ -e /initrd/dev/.devfsd ]; then @@ -712,6 +707,11 @@ if [ -x /sbin/quotaon ]; then action $"Enabling local filesystem quotas: " /sbin/quotaon -aug fi +# +# Check to see if SELinux requires a relabel +# +[ -n "$SELINUX" ] && [ -f /.autorelabel ] && relabel_selinux + # Initialize pseudo-random number generator if [ -f "/var/lib/random-seed" ]; then cat /var/lib/random-seed > /dev/urandom |