Bug 219369 - Mount /var and /var/lock explicitly to avoid disapparing locks
Summary: Mount /var and /var/lock explicitly to avoid disapparing locks
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-12 20:15 UTC by Jeff Law
Modified: 2014-03-17 03:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-23 19:34:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rc.sysinit patch (3.12 KB, patch)
2006-12-12 20:15 UTC, Jeff Law
no flags Details | Diff
The right one (without unrelated changes) (1.12 KB, patch)
2006-12-12 20:17 UTC, Jeff Law
no flags Details | Diff

Description Jeff Law 2006-12-12 20:15:18 UTC
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:

Comment 1 Jeff Law 2006-12-12 20:15:18 UTC
Created attachment 143435 [details]
rc.sysinit patch

Comment 2 Jeff Law 2006-12-12 20:17:06 UTC
Created attachment 143436 [details]
The right one (without unrelated changes)

Comment 3 Bill Nottingham 2007-04-13 22:50:30 UTC
Is this still necessary? Are we actually moving the mtab locK?

Comment 4 Jeff Law 2007-04-23 19:34:30 UTC
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




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