Description of problem: One of the concerns raised in the discussion of moving the mtab lock file from /etc to /var/lock was how to deal with systems with a separate /var and/or /var/lock. It is unlikely, but possible that a lock could disappear. ie, a lock is created in /var/lock in the root filesystem. We then mount a separate /var filesystem which causes the lock in /var/lock to silently disappear. This patch arranges for /var and /var/lock to be mounted immediately after filesystems are checked to help ensure that locks don't disappear. Whee, fun. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 143435 [details] rc.sysinit patch
Created attachment 143436 [details] The right one (without unrelated changes)
Is this still necessary? Are we actually moving the mtab locK?
I don't think this is still necessary as I don't think we're going to try and get mtab out of /etc (at least in the near future). There's simply too much intertia (or lack thereof) amongst the various mount-tools maintainers to make this happen. Instead we'll be using a union-fs solution on top of /etc. That will require a different set of changes to initscripts, for which I'll open a separate bug. Jeff