Bug 12097 - remounting rw when already rw
Summary: remounting rw when already rw
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.0
Hardware: noarch
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-06-11 20:36 UTC by Idcmp
Modified: 2014-03-17 02:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-16 04:02:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Idcmp 2000-06-11 20:36:03 UTC
rc.sysinit will always attempt to remount root fs to rw even when
the kernel was told to mount the fs rw to begin with 
(rdev -R yourkernel 0).  This causes a hang when the rootfs is NFS.

Comment 1 Bill Nottingham 2000-08-07 05:33:17 UTC
It does?  It shouldn't; mount -o rw,remount of nfs filesystems
works OK here. Or is this a peculiarity of NFS root?

Comment 2 Idcmp 2000-08-07 06:13:10 UTC
line 209 of /etc/rc.d/rc.sysinit of initscripts 5.00 shows:

action "Remounting root filesystem in read-write mode" mount -n -o remount,rw /

I used rdev(8) to *already* bring / up in rw mode.  Issuing this remount to rw
when
it was already rw caused a lockup with NFS root.

Something should check to see if it needs to be remounted.




Comment 3 Idcmp 2000-09-11 18:22:39 UTC
Please fix this?

If /proc is mounted at this point, there should be a line in /proc/mounts for
"/dev/root" which will
say if it's already read-write or not.


Comment 4 Idcmp 2000-10-16 04:01:58 UTC
This bug is still in 7.0.  It is now on line 262 of rc.sysinit.



Comment 5 Bill Nottingham 2000-12-12 07:51:36 UTC
Will be fixed in initscripts-5.53-1. Apologies for the delay.

Comment 6 Idcmp 2000-12-12 14:05:05 UTC
Thanks for your time!  I look forward to trying it out on my diskless station.



Note You need to log in before you can comment on or make changes to this bug.