FS#13791 - rc.sysinit doesn't check if root fs was remounted as rw correctly
Attached to Project:
Arch Linux
Opened by Cedric Staub (csstaub) - Friday, 13 March 2009, 22:03 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 31 May 2009, 14:29 GMT
Opened by Cedric Staub (csstaub) - Friday, 13 March 2009, 22:03 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 31 May 2009, 14:29 GMT
|
Details
Description: In some cases, the filesystem might fail
to remount as read/write even after it mounted as read-only. This can happen with for example JFS, as it refuses to mount as read/write after an unclean reboot/unmount if you don't call fsck on it first. What will happen is that the command "/bin/mount -o remount,rw /" in rc.sysinit will fail, but the system will (try) to continue with the booting process anyway. This is suboptimal. Additional info: * Last checked with initscripts-2009.03 Steps to reproduce: 1. Force an unclean reboot on a system with a JFS root-partition 2. Watch your system fail to boot back up again |
This task depends upon
I have to repeat Aaron's question, what should we do if remounting rw fails? Should we fsck ... wait, we did that directly before the remount! Should we stop booting?