aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-02-03 20:18:44 +0000
committerPeter Jones <pjones@redhat.com>2006-02-03 20:18:44 +0000
commit10480e9e2ae8d707a85c1ff667ebaa7373f77158 (patch)
tree510b0bfdb017abb991e605c71b3d2bb1f188f8ba
parent28f37b2f3ba90e62574420bb8611c6daf87b7c18 (diff)
downloadinitscripts-10480e9e2ae8d707a85c1ff667ebaa7373f77158.tar
initscripts-10480e9e2ae8d707a85c1ff667ebaa7373f77158.tar.gz
initscripts-10480e9e2ae8d707a85c1ff667ebaa7373f77158.tar.bz2
initscripts-10480e9e2ae8d707a85c1ff667ebaa7373f77158.tar.xz
initscripts-10480e9e2ae8d707a85c1ff667ebaa7373f77158.zip
- don't mount sys and proc
-rw-r--r--ChangeLog5
-rwxr-xr-xrc.d/rc.sysinit4
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index dc1e503b..1f242af1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-03 Peter Jones <pjones@redhat.com>
+
+ * rc.d/rc.sysinit: don't mount /sys and /proc in rc.sysinit, since
+ initrd has to mount them anyway.
+
2006-02-02 Bill Nottingham <notting@redhat.com>
* ChangeLog, initscripts.spec: 8.25-1
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0dcf133e..1e4349d7 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -16,10 +16,6 @@ if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then
HOSTNAME=localhost
fi
-# Mount /proc and /sys (done here so volume labels can work with fsck)
-mount -n -t proc /proc /proc
-mount -n -t sysfs /sys /sys >/dev/null 2>&1
-
. /etc/init.d/functions
# Check SELinux status