Red Hat Bugzilla – Bug 12097
remounting rw when already rw
Last modified: 2014-03-16 22:14:10 EDT
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.
It does? It shouldn't; mount -o rw,remount of nfs filesystems
works OK here. Or is this a peculiarity of NFS root?
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
it was already rw caused a lockup with NFS root.
Something should check to see if it needs to be remounted.
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.
This bug is still in 7.0. It is now on line 262 of rc.sysinit.
Will be fixed in initscripts-5.53-1. Apologies for the delay.
Thanks for your time! I look forward to trying it out on my diskless station.